mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +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}}
|
||||
with:
|
||||
retries: 5
|
||||
github-token: ${{ secrets.ASTERISKTEAM_PAT }}
|
||||
script: |
|
||||
let rs = JSON.parse(process.env.REVIEWERS);
|
||||
let rs = JSON.parse(process.env.REVIEWERS.length ? process.env.REVIEWERS : '[]');
|
||||
let users = [];
|
||||
let teams = [];
|
||||
for (const r of rs) {
|
||||
|
Reference in New Issue
Block a user