Skip to content

Sync upstream meatadata #153

Sync upstream meatadata

Sync upstream meatadata #153

Workflow file for this run

name: Sync upstream meatadata
on:
push:
branches:
- main
tags-ignore:
- '*'
schedule:
# Every Tuesday 10:00 in JST
- cron: '00 1 * * 1'
workflow_dispatch:
jobs:
bqport-pull:
concurrency: production
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
cache: 'npm'
cache-dependency-path: package-lock.json
- uses: 'google-github-actions/auth@v2'
id: 'auth'
with:
workload_identity_provider: 'projects/1069005224497/locations/global/workloadIdentityPools/github-action/providers/github-action'
service_account: 'github-action@bqmake.iam.gserviceaccount.com'
- run: npm ci
- run: npm run pull
- uses: peter-evans/create-pull-request@v6
with:
branch: 'ci/${{ github.run_id }}'
commit-message: 'Update metadata files by `bqport pull` on CI'
author: 'github-actions[bot]<41898282+github-actions[bot]@users.noreply.github.com>'
title: 'Update metadata files by CI'
body: |
This PR updates some generated files to the latest by running `bqport pull`.
This PR was created by [this workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) automatically.
assignees: takegue