Skip to content

Commit 916c10e

Browse files
authored
build(java): use yoshi-approver token for auto-approve (#772)
1 parent f3c0488 commit 916c10e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

synthtool/gcp/templates/java_library/.github/workflows/auto-release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/github-script@v3.0.0
99
with:
10-
github-token: {{ '${{secrets.GITHUB_TOKEN}}' }}
10+
github-token: {{ '${{secrets.YOSHI_APPROVER_TOKEN}}' }}
1111
debug: true
1212
script: |
1313
// only approve PRs from release-please[bot]
@@ -66,4 +66,4 @@ jobs:
6666
repo: context.repo.repo,
6767
issue_number: context.payload.pull_request.number,
6868
labels: ['kokoro:force-run', 'automerge']
69-
});
69+
});

0 commit comments

Comments
 (0)