From c26955e97898d0d843b77ef0f304c70d5d8df98e Mon Sep 17 00:00:00 2001 From: Tanujairam <88611197+TanujairamV@users.noreply.github.com> Date: Wed, 6 Nov 2024 18:32:03 +0530 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d59de9bc34..0047fd4d58 100755 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: id: should_build shell: bash env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PAT: ${{ secrets.PAT }} run: | if ! git checkout origin/update build.md; then echo "first time building!" @@ -34,7 +34,7 @@ jobs: - name: Clear older runs env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PAT: ${{ secrets.PAT }} run: | gh run list -L400 --json databaseId -q '.[].databaseId' | tail -n+10 | xargs -IID gh api "repos/$GITHUB_REPOSITORY/actions/runs/ID" -X DELETE || :