Skip to content

Commit 13f1a7c

Browse files
fix(security): autofix 3rd party Github Actions should be pinned
1 parent b2948ef commit 13f1a7c

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

.github/workflows/check-links.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
uses: actions/checkout@v4.1.4
1212

1313
- name: Download .markdownlint.json
14-
uses: suisei-cn/actions-download-file@v1.4.0
14+
uses: suisei-cn/actions-download-file@15306412d2c75df56b46844362b86b65235b7db1 # v1.4.0
1515
with:
1616
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.markdownlinkcheck.json"
1717

1818
- name: Validate Links
19-
uses: gaurav-nelson/github-action-markdown-link-check@v1
19+
uses: gaurav-nelson/github-action-markdown-link-check@5c5dfc0ac2e225883c0e5f03a85311ec2830d368 # v1
2020
with:
2121
config-file: '.markdownlinkcheck.json'

.github/workflows/check-markdown.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
uses: actions/checkout@v4.1.4
1111

1212
- name: Download .markdownlint.json
13-
uses: suisei-cn/actions-download-file@v1.4.0
13+
uses: suisei-cn/actions-download-file@15306412d2c75df56b46844362b86b65235b7db1 # v1.4.0
1414
with:
1515
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.markdownlint.json"
1616

1717
- name: Validate Markdown
18-
uses: DavidAnson/markdownlint-cli2-action@v9
18+
uses: DavidAnson/markdownlint-cli2-action@5b7c9f74fec47e6b15667b2cc23c63dff11e449e # v9
1919
with:
2020
command: config
2121
globs: |

.github/workflows/check-nodejs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: npm install eslint-config-standard eslint-plugin-import eslint-plugin-n eslint-plugin-promise eslint-formatter-pretty@v5.0.0
2424

2525
- name: Download .eslintrc.yml
26-
uses: suisei-cn/actions-download-file@v1.6.0
26+
uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # v1.6.0
2727
with:
2828
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.eslintrc.yml"
2929

.github/workflows/check-signed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
uses: actions/checkout@v4.1.4
1212

1313
- name: Check if the commits are signed
14-
uses: 1Password/check-signed-commits-action@v1
14+
uses: 1Password/check-signed-commits-action@ed2885f3ed2577a4f5d3c3fe895432a557d23d52 # v1

.github/workflows/check-yaml.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
uses: actions/checkout@v4.1.4
1212

1313
- name: Download .yamllint.yml
14-
uses: suisei-cn/actions-download-file@v1.4.0
14+
uses: suisei-cn/actions-download-file@15306412d2c75df56b46844362b86b65235b7db1 # v1.4.0
1515
with:
1616
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.yamllint.yml"
1717

1818
- name: Lint YAML files
19-
uses: karancode/yamllint-github-action@v2.1.1
19+
uses: karancode/yamllint-github-action@fdef6bc189425ecc84cc4543b2674566c0827053 # v2.1.1
2020
with:
2121
yamllint_config_datapath: .yamllint.yml
2222
yamllint_strict: true

0 commit comments

Comments
 (0)