mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-28 07:01:07 +00:00
.github: Add PAT to PRSubmitActions/Add Reviewers
(cherry picked from commit a02a929d27)
This commit is contained in:
committed by
Asterisk Development Team
parent
2e7b22a503
commit
df6501c8c3
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