Skip to content

Commit 48b3a29

Browse files
authored
ci: Set required underlying permissions (#931)
1 parent 199343e commit 48b3a29

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
run: >-
4848
curl -L "$(
4949
curl -s https://api.github.com/repos/hadolint/hadolint/releases/latest
50-
| grep -o -E -m 1 "https://.+?/hadolint-Linux-x86_64"
50+
| grep -o -E -i -m 1 "https://.+?/hadolint-linux-x86_64"
5151
)"
5252
> hadolint
5353
&& chmod +x hadolint && sudo mv hadolint /usr/bin/

.github/workflows/scheduled-runs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
permissions:
1212
contents: read
13+
security-events: write
1314

1415
run-name: >-
1516
🌃

0 commit comments

Comments
 (0)