Use special secret for pr approval.
This commit is contained in:
@@ -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