From c4ef08db093f33439f50c392255e6df4c2091150 Mon Sep 17 00:00:00 2001 From: vmudadla Date: Thu, 3 Oct 2024 16:36:23 -0500 Subject: [PATCH] Update Github action --- .github/workflows/ci-checks.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-checks.yml b/.github/workflows/ci-checks.yml index d8b65ecef4b..16b00f8c3e3 100644 --- a/.github/workflows/ci-checks.yml +++ b/.github/workflows/ci-checks.yml @@ -28,19 +28,17 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} check_ci_status: - runs-on: ubuntu-latest + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Check if all CI checks passed uses: wechuli/allcheckspassed@0b68b3b7d92e595bcbdea0c860d05605720cf479 with: delay: '5' retries: '7' - polling_interval: '5' - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + polling_interval: '5' - name: Add 'ci-passed' label if: success() run: | - gh pr edit ${{ github.event.pull_request.number }} --add-label "ci-passed" --repo $GITHUB_REPOSITORY - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + gh pr edit ${{ github.event.pull_request.number }} --add-label "ci-passed" --repo $GITHUB_REPOSITORY \ No newline at end of file