Skip to content

Commit e0a6342

Browse files
Pin GitHub Actions to commit SHAs (#103)
1 parent d840153 commit e0a6342

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
cooldown:
8+
default-days: 7

‎.github/workflows/links_checkerPR.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
if: github.actor != 'dependabot[bot]'
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
1616

1717
- name: Link Checker
1818
id: lychee
19-
uses: lycheeverse/lychee-action@v1
19+
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # v1.10.0
2020

2121
- name: Read link checker output
2222
id: read_links
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Create or Update Comment - No Broken Links
3939
if: env.lychee_exit_code == '0' # Run if there are no broken links
40-
uses: peter-evans/create-or-update-comment@v4
40+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
4141
with:
4242
issue-number: ${{ github.event.pull_request.number }}
4343
body: |
@@ -47,7 +47,7 @@ jobs:
4747

4848
- name: Create or Update Comment - Summary of Broken Links
4949
if: env.lychee_exit_code != '0' # Run if there are broken links
50-
uses: peter-evans/create-or-update-comment@v4
50+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
5151
with:
5252
issue-number: ${{ github.event.pull_request.number }}
5353
body: |

0 commit comments

Comments
 (0)