mirror of
https://github.com/actions/runner-images.git
synced 2025-12-17 07:06:54 +00:00
Use special secret for pr approval.
This commit is contained in:
2
.github/workflows/merge_pull_request.yml
vendored
2
.github/workflows/merge_pull_request.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
- name: Approve pull request by GitHub-Actions bot
|
- name: Approve pull request by GitHub-Actions bot
|
||||||
uses: actions/github-script@v2
|
uses: actions/github-script@v2
|
||||||
with:
|
with:
|
||||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
github-token: ${{secrets.PRAPPROVAL_SECRET}}
|
||||||
script: |
|
script: |
|
||||||
github.pulls.createReview({
|
github.pulls.createReview({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
|
|||||||
Reference in New Issue
Block a user