Skip to content

Commit a7ce916

Browse files
committed
fix: Use tag versions for GitHub Actions to resolve action errors
- Change hadolint-action from commit SHA to v1.5.0 tag - Change shellcheck from commit SHA to 2.0.0 tag - Change prettier_action from commit SHA to v4.6 tag - Fix YAML spacing for comments This fixes the GitHub Actions errors where commit SHAs could not be resolved.
1 parent 373ad7b commit a7ce916

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/addon-ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
with:
6363
persist-credentials: false
6464
- name: Run Hadolint
65-
uses: brpaz/hadolint-action@c27bd9edc1e95eed3047db8f295ff5807ebca14 # v1.5.0
65+
uses: brpaz/hadolint-action@v1.5.0
6666
with:
6767
dockerfile: "./${{ needs.information.outputs.target }}/Dockerfile"
6868

@@ -94,7 +94,7 @@ jobs:
9494
with:
9595
persist-credentials: false
9696
- name: Run Shellcheck
97-
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e3b4bbc42af0e2d47 # 2.0.0
97+
uses: ludeeus/action-shellcheck@2.0.0
9898
env:
9999
SHELLCHECK_OPTS: -s bash
100100

@@ -118,7 +118,7 @@ jobs:
118118
with:
119119
persist-credentials: false
120120
- name: Run Prettier
121-
uses: creyD/prettier_action@8c18391fdc98ed0d884c636f60975edac71b8f0 # v4.6
121+
uses: creyD/prettier_action@v4.6
122122
with:
123123
prettier_options: --check **/*.{json,js,md,yaml}
124124
env:
@@ -145,4 +145,4 @@ jobs:
145145
with:
146146
persist-credentials: false
147147
- name: Dependency review
148-
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
148+
uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0

0 commit comments

Comments
 (0)