Skip to content

Commit c6cde9f

Browse files
committed
ci: add concurrency group, permissions, and update actions
1 parent c8eb795 commit c6cde9f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/shellcheck.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@ on:
1111
- "**/*.sh"
1212
- ".bash_aliases"
1313

14-
jobs:
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: true
17+
18+

1519
shellcheck:
1620
runs-on: ubuntu-latest
1721
timeout-minutes: 5
@@ -21,3 +25,6 @@ jobs:
2125
uses: ludeeus/action-shellcheck@2.0.0
2226
with:
2327
severity: warning
28+
29+
permissions:
30+
contents: read

0 commit comments

Comments
 (0)