From cb66d69134ca756bb7dc1e6e1e7a486c653c2838 Mon Sep 17 00:00:00 2001 From: vmudadla Date: Thu, 3 Oct 2024 18:34:42 -0500 Subject: [PATCH] Update Github action --- .github/workflows/ci-checks.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index 16b00f8c3e3..77a6344faba 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -18,15 +18,15 @@ permissions: jobs: reset_ci_passed_label: if: github.event_name == 'pull_request' && (github.event.action == 'synchronize' || github.event.action == 'reopened') - runs-on: ubuntu-latest + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Reset ci-passed label status on PR Syncronization run: | echo "Resetting 'ci-passed' label as new changes have been pushed." gh pr edit ${{ github.event.pull_request.number }} --remove-label "ci-passed" --repo $GITHUB_REPOSITORY || echo "Label not present" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - + check_ci_status: runs-on: ubuntu-latest env: @@ -34,7 +34,8 @@ jobs: steps: - name: Check if all CI checks passed uses: wechuli/allcheckspassed@0b68b3b7d92e595bcbdea0c860d05605720cf479 - with: + with: + GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} delay: '5' retries: '7' polling_interval: '5'