Skip to content

Commit b3ab4f2

Browse files
authored
Merge pull request #216 from EasyPost/luizm-action-sh-checker-review
fix(ci): pin sh-checker action and restrict workflow permissions
2 parents e7e1fc0 + 41228a0 commit b3ab4f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ on:
88

99
jobs:
1010
shell:
11+
permissions:
12+
contents: read
1113
runs-on: ubuntu-latest
1214
steps:
1315
- uses: actions/checkout@v4
1416
- name: Run sh-checker
15-
uses: luizm/action-sh-checker@master
17+
uses: luizm/action-sh-checker@v0.9.0
1618
env:
1719
SHFMT_OPTS: -i 2 -d
1820
SHELLCHECK_OPTS: -e SC2148,SC2034

0 commit comments

Comments
 (0)