mirror of
https://github.com/actions/runner-images.git
synced 2025-12-16 06:40:32 +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
|
||||
uses: actions/github-script@v2
|
||||
with:
|
||||
github-token: ${{secrets.GITHUB_TOKEN}}
|
||||
github-token: ${{secrets.PRAPPROVAL_SECRET}}
|
||||
script: |
|
||||
github.pulls.createReview({
|
||||
owner: context.repo.owner,
|
||||
|
||||
Reference in New Issue
Block a user