mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-03 19:16:46 +00:00
.github: Add PAT to PRSubmitActions/Add Reviewers
This commit is contained in:
3
.github/workflows/PRSubmitActions.yml
vendored
3
.github/workflows/PRSubmitActions.yml
vendored
@@ -123,8 +123,9 @@ jobs:
|
|||||||
REVIEWERS: ${{vars.PR_REVIEWERS}}
|
REVIEWERS: ${{vars.PR_REVIEWERS}}
|
||||||
with:
|
with:
|
||||||
retries: 5
|
retries: 5
|
||||||
|
github-token: ${{ secrets.ASTERISKTEAM_PAT }}
|
||||||
script: |
|
script: |
|
||||||
let rs = JSON.parse(process.env.REVIEWERS);
|
let rs = JSON.parse(process.env.REVIEWERS.length ? process.env.REVIEWERS : '[]');
|
||||||
let users = [];
|
let users = [];
|
||||||
let teams = [];
|
let teams = [];
|
||||||
for (const r of rs) {
|
for (const r of rs) {
|
||||||
|
Reference in New Issue
Block a user