Skip to content

Commit 1ae5aaa

Browse files
authored
chore(ci): remove dead env vars from circleci-failure-summary-comment.yml (#45972)
`TARGET_BRANCH` and `TARGET_SHA` were declared at the job level but never referenced by any subsequent step. `PR_NUMBER` was also declared at the job level but every step that needs it re-declares its own step-local `PR_NUMBER: ${{ github.event.pull_request.number }}` env, so the job-level binding was equally unused. Drop the entire job-level `env:` block. No behavior change.
1 parent ecc7e32 commit 1ae5aaa

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

.github/workflows/circleci-failure-summary-comment.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ jobs:
1212
runs-on: ubuntu-22.04
1313
permissions:
1414
pull-requests: write
15-
env:
16-
TARGET_BRANCH: ${{ github.event.pull_request.head.ref }}
17-
TARGET_SHA: ${{ github.event.pull_request.head.sha }}
18-
PR_NUMBER: ${{ github.event.pull_request.number }}
1915
steps:
2016
- name: Checkout repository
2117
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

0 commit comments

Comments
 (0)