Skip to content

Commit fb6da9c

Browse files
authored
Merge pull request #638 from jsafrane/pin-github-actions-sha
fix: pin github action to exact SHA
2 parents 8b15d05 + 2391b52 commit fb6da9c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
# Steps represent a sequence of tasks that will be executed as part of the job
2020
steps:
2121
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2323

2424
# The same command that users can use locally is used to build documentation.
2525
- name: Build documentation
2626
run: make
2727

2828
# Publish the result by overwriting the "gh-pages" branch with the new content.
2929
- name: Deploy
30-
uses: JamesIves/github-pages-deploy-action@4.1.4
30+
uses: JamesIves/github-pages-deploy-action@5dc1d5a192aeb5ab5b7d5a77b7d36aea4a7f5c92 # 4.1.4
3131
with:
3232
branch: gh-pages
3333
folder: docs

.github/workflows/pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
# Steps represent a sequence of tasks that will be executed as part of the job
1919
steps:
2020
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2
2222

2323
# The same command that users can use locally is used to build documentation.
2424
- name: Build documentation
2525
run: make
2626

2727
# Publish generated site as artifact. Unfortunately viewing it requires
2828
# downloading a .zip and uncompressing that (https://github.com/actions/upload-artifact/issues/14#issuecomment-620728238)
29-
- uses: actions/upload-artifact@v4
29+
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
3030
with:
3131
name: html-docs
3232
path: docs

0 commit comments

Comments
 (0)