Skip to content

Commit de8aae1

Browse files
[StepSecurity] ci: Harden GitHub Actions in merge-conflict-checker.yml (#6802)
1 parent 8785f78 commit de8aae1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/merge-conflict-checker.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,13 @@ on:
2121
pull_request_target:
2222
types: [synchronize]
2323

24+
permissions: # added using https://github.com/step-security/secure-workflows
25+
contents: read
26+
2427
jobs:
2528
triage:
29+
permissions:
30+
pull-requests: write # for eps1lon/actions-label-merge-conflict to label PRs
2631
runs-on: ubuntu-latest
2732
steps:
2833
- name: Conflict Check

0 commit comments

Comments
 (0)