Skip to content

Commit f45a520

Browse files
authored
Pin gh actions to a known commit (#3580)
* pin shas for all github actions
1 parent 6b59638 commit f45a520

17 files changed

+33
-29
lines changed

.github/workflows/apicheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ 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@v4
22-
- uses: ruby/setup-ruby@v1
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
22+
- uses: ruby/setup-ruby@922ebc4c5262cd14e07bb0e1db020984b6c064fe # v1
2323
with:
2424
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
2525
- name: Check APIs for completeness against client libs

.github/workflows/closedissues.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
# Steps represent a sequence of tasks that will be executed as part of the job
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2727
- name: Check for closed issues referenced in documentation
2828
run: |
2929
# check docs for references to closed issues
@@ -35,7 +35,7 @@ jobs:
3535
runs-on: ubuntu-latest
3636
if: ${{ failure() }}
3737
steps:
38-
- uses: dawidd6/action-send-mail@v3
38+
- uses: dawidd6/action-send-mail@4226df7daafa6fc901a43789c49bf7ab309066e7 # v3
3939
with:
4040
server_address: ${{secrets.MAIL_HOST}}
4141
server_port: ${{secrets.MAIL_PORT}}

.github/workflows/contentcheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
# Steps represent a sequence of tasks that will be executed as part of the job
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1515
- name: Check for blog posts that have incorrect categories
1616
run: |
1717
exit `src/scripts/check-for-incorrect-categories.sh`

.github/workflows/contentlist.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
# Steps represent a sequence of tasks that will be executed as part of the job
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1515
- name: Find paths and titles of all content
1616
run: |
1717
find astro/src/content -type f|grep -v '/_' |xargs grep '^title:'|sed 's/:title: /,"/'|sed 's/$/"/'| sed 's!astro/src/content!!' |sed 's!/quickstarts!/docs/quickstarts!'|sed 's!/!https://fusionauth.io/!'

.github/workflows/dev-astro.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838
id-token: write
3939
steps:
4040
- name: Checkout
41-
uses: actions/checkout@v4
41+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4242
with:
4343
ref: ${{ inputs.branch }}
4444
- name: Configure AWS Credentials
45-
uses: aws-actions/configure-aws-credentials@v4
45+
uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4
4646
with:
4747
role-to-assume: ${{ env.PUBLISHER_ROLE_ARN }}
4848
role-session-name: site_publisher_session

.github/workflows/devlinkcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
# Steps represent a sequence of tasks that will be executed as part of the job
1414
steps:
1515
# linkcheck
16-
- uses: actions/checkout@v4
17-
- uses: filiph/linkcheck@3.0.0
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
- uses: filiph/linkcheck@f2c15a0be0d9c83def5df3edcc0f2d6582845f2d # 3.0.0
1818
with:
1919
arguments: https://fusionauth.dev/docs/ --skip-file config/linkcheck/linkcheck-skip.txt --connection-failures-as-warnings
2020
name: linkcheck

.github/workflows/exampleappscheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
env:
1616
GH_TOKEN: ${{ github.token }}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919

2020
- name: Check for example app completeness
2121
run: src/scripts/count-repos.sh

.github/workflows/invalidate.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
# Steps represent a sequence of tasks that will be executed as part of the job
2323
steps:
2424
# Setup the system with the repository code
25-
- uses: actions/checkout@v4
25+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2626

27-
# Set the env vars. These default to dev and if the branch is `main` then this changes to use the production keys
27+
# v4
2828
- name: Set prod env vars based on branch
2929
if: startsWith(github.ref, 'refs/heads/main')
3030
run: |

.github/workflows/jsoncheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
# Steps represent a sequence of tasks that will be executed as part of the job
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
- name: Check for broken json files
2020
run: |
2121
busted_files=""

.github/workflows/linkcheck.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
# linkcheck
16-
- uses: actions/checkout@v4
17-
- uses: filiph/linkcheck@3.0.0
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
17+
- uses: filiph/linkcheck@f2c15a0be0d9c83def5df3edcc0f2d6582845f2d # 3.0.0
1818
with:
1919
arguments: https://fusionauth.io/ --skip-file config/linkcheck/linkcheck-skip.txt --connection-failures-as-warnings
2020
name: linkcheck
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
if: ${{ failure() }}
2525
steps:
26-
- uses: dawidd6/action-send-mail@v3
26+
- uses: dawidd6/action-send-mail@4226df7daafa6fc901a43789c49bf7ab309066e7 # v3
2727
with:
2828
server_address: ${{secrets.MAIL_HOST}}
2929
server_port: ${{secrets.MAIL_PORT}}

0 commit comments

Comments
 (0)