From ba9b975c7d0df2cf2c49a6c439e93c48ec080a05 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 28 Aug 2024 13:49:43 -0700 Subject: [PATCH] CI: Save PR Number Once Only run the `save_pr_number` script once per PR. --- .github/workflows/codeql.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index fcbc38d9..a99256cb 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -120,18 +120,3 @@ jobs: uses: github/codeql-action/upload-sarif@v3 with: sarif_file: sarif-results/${{ matrix.language }}.sarif - - save_pr_number: - if: github.event_name == 'pull_request' - runs-on: ubuntu-latest - steps: - - name: Save PR number - env: - PR_NUMBER: ${{ github.event.number }} - run: | - echo $PR_NUMBER > pr_number.txt - - uses: actions/upload-artifact@v4 - with: - name: pr_number - path: pr_number.txt - retention-days: 1