Skip to content

Commit 44c15b7

Browse files
authored
Update label-merge-conflicts.yml
Set permissions and pin the third party action.
1 parent 827dddc commit 44c15b7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/label-merge-conflicts.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: "Check for conflicts"
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:
@@ -11,7 +15,7 @@ jobs:
1115
runs-on: ubuntu-latest
1216
steps:
1317
- name: check if PRs have conflicts
14-
uses: eps1lon/actions-label-merge-conflict@releases/2.x
18+
uses: eps1lon/actions-label-merge-conflict@fd1f295ee7443d13745804bc49fe158e240f6c6e
1519
with:
1620
dirtyLabel: "merge conflict"
1721
repoToken: "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)