From 8c874c6c203ec0a58db5065aabb8398dbd5542c2 Mon Sep 17 00:00:00 2001 From: George Joseph Date: Fri, 28 Jun 2024 13:41:32 -0600 Subject: [PATCH] .github: Use ASTERISKTEAM_PAT for PR merging (cherry picked from commit a9b74ffa52e612db89922ddf63df82a63373aa90) --- .github/workflows/OnPRMergeApproved.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/OnPRMergeApproved.yml b/.github/workflows/OnPRMergeApproved.yml index 6c55e0d154..bd5eb02faf 100644 --- a/.github/workflows/OnPRMergeApproved.yml +++ b/.github/workflows/OnPRMergeApproved.yml @@ -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 }}