Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 543d36c

Browse files
authored
chore: comment out compromised action in pr-labels.yml (typescript-eslint#10956)
1 parent f07bdcf commit 543d36c

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

.github/workflows/pr-labels.yml

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,23 @@ jobs:
1010
permissions:
1111
issues: write
1212
pull-requests: write
13-
steps:
14-
- id: changed-stable-configs
15-
uses: tj-actions/[email protected]
16-
with:
17-
files: packages/{eslint-plugin,typescript-eslint}/src/configs/{recommended,stylistic}*
18-
- if: steps.changed-stable-configs.outputs.any_changed == 'true'
19-
uses: mheap/[email protected]
20-
with:
21-
add_comment: true
22-
count: 1
23-
labels: breaking change
24-
message: '🤖 Beep boop! PRs that change our stable preset configs must be labeled with `breaking change`.'
25-
mode: minimum
13+
#
14+
# WARNING!!!!!!!!!!!
15+
#
16+
# THIS ACTION WAS COMPROMISED: https://www.stepsecurity.io/blog/harden-runner-detection-tj-actions-changed-files-action-is-compromised
17+
#
18+
# DO NOT RE-ENABLE THIS WORKFLOW WITH THIS IN USE!!!!!
19+
#
20+
# steps:
21+
# - id: changed-stable-configs
22+
# uses: tj-actions/[email protected]
23+
# with:
24+
# files: packages/{eslint-plugin,typescript-eslint}/src/configs/{recommended,stylistic}*
25+
# - if: steps.changed-stable-configs.outputs.any_changed == 'true'
26+
# uses: mheap/[email protected]
27+
# with:
28+
# add_comment: true
29+
# count: 1
30+
# labels: breaking change
31+
# message: '🤖 Beep boop! PRs that change our stable preset configs must be labeled with `breaking change`.'
32+
# mode: minimum

0 commit comments

Comments
 (0)