From e5bd107bfab1ed67991aff23314c6e8c49686ff2 Mon Sep 17 00:00:00 2001 From: Brent Salisbury Date: Fri, 26 Jan 2024 11:22:23 -0500 Subject: [PATCH] Add a token for checkout@v4 Reference: https://github.com/actions/checkout#usage Signed-off-by: Brent Salisbury --- .github/workflows/promote.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index e8b6e86a1..7016f45ce 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -73,6 +73,7 @@ jobs: uses: actions/checkout@v4 with: ref: "qa" + token: ${{ secrets.GITHUB_TOKEN }} - name: Promote to the prod Tag shell: bash @@ -80,9 +81,7 @@ jobs: git fetch --tags git tag prod-previous prod --force git tag prod --force - git push origin prod prod-previous --force - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + git push origin prod prod-previous --force build-packages: # Sync the agent binary in s3 /download with the prod promotion in the update-prod job