Merge pull request #13462 from Homebrew/fix-triage-workflow
workflows/triage: use PAT with read:org to indentify private members
This commit is contained in:
commit
dc31af55a7
2
.github/workflows/triage.yml
vendored
2
.github/workflows/triage.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
|||||||
github.event.action != 'closed' && github.event.pull_request.state != 'closed'
|
github.event.action != 'closed' && github.event.pull_request.state != 'closed'
|
||||||
uses: actions/github-script@v6
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
github-token: ${{ secrets.HOMEBREW_GITHUB_PUBLIC_REPO_TOKEN }}
|
github-token: ${{ secrets.HOMEBREW_BREW_TRIAGE_PULL_REQUESTS_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
async function approvePullRequest(pullRequestNumber) {
|
async function approvePullRequest(pullRequestNumber) {
|
||||||
const reviews = await approvalsByAuthenticatedUser(pullRequestNumber)
|
const reviews = await approvalsByAuthenticatedUser(pullRequestNumber)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user