.github: Use ASTERISKTEAM_PAT for PR merging

(cherry picked from commit a9b74ffa52)
This commit is contained in:
George Joseph
2024-06-28 13:41:32 -06:00
committed by Asterisk Development Team
parent 89d4f1015e
commit 8c874c6c20

View File

@@ -13,5 +13,7 @@ jobs:
name: MergePR
if: contains(fromJSON(vars.MERGE_APPROVED_LABELS), github.event.label.name)
uses: asterisk/asterisk-ci-actions/.github/workflows/AsteriskMergePR.yml@main
# Merging requires a specific token or it'll get caught in the rules that
# prevent merges by mortals.
secrets:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
TOKEN: ${{ secrets.ASTERISKTEAM_PAT }}