Skip to content

Commit 035f461

Browse files
authored
Merge pull request #925 from aireilly/actions-update
Freezing actions at current SHA versions in light of CVE-2025-30066
2 parents 7232918 + be004fe commit 035f461

10 files changed

+23
-23
lines changed

.github/workflows/on-issues-opened.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
automate-project-columns:
1919
runs-on: ubuntu-latest
2020
steps:
21-
- uses: alex-page/github-project-automation-plus@v0.9.0
21+
- uses: alex-page/github-project-automation-plus@303f24a24c67ce7adf565a07e96720faf126fe36 # v0.9.0
2222
with:
2323
project: Vale at Red Hat
2424
column: To do

.github/workflows/preview-build.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout code
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2626
with:
2727
ref: ${{ github.event.pull_request.head.sha }}
2828
fetch-depth: 0 # enable git diff and building many branches
2929
- name: Install Node.js
30-
uses: actions/setup-node@v4
30+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
3131
with:
3232
node-version: '18'
3333
- name: Install Antora
@@ -37,7 +37,7 @@ jobs:
3737
run: echo "yearweek=$(/bin/date -u "+%Y%U")" >> $GITHUB_OUTPUT
3838
shell: bash
3939
- name: Restore cache
40-
uses: actions/cache@v4
40+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.3
4141
env:
4242
cache-name: cache
4343
with:
@@ -58,15 +58,15 @@ jobs:
5858
echo "${{ github.event.number }}" > PR_NUMBER
5959
echo "${{ github.event.pull_request.head.sha }}" > PR_SHA
6060
- name: Upload preview-build artifact
61-
uses: actions/upload-artifact@v4
61+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6262
with:
6363
name: preview-build
6464
path: |
6565
build
6666
PR_NUMBER
6767
PR_SHA
6868
retention-days: 7
69-
- uses: actions/cache@v4
69+
- uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.0.3
7070
with:
7171
path: tmp/.htmltest
7272
key: ${{ runner.os }}-htmltest

.github/workflows/preview-deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
if: github.event.workflow_run.event == 'pull_request'
2121
steps:
2222
- name: Download preview-build artifact
23-
uses: dawidd6/action-download-artifact@v9
23+
uses: dawidd6/action-download-artifact@07ab29fd4a977ae4d2b275087cf67563dfdf0295 # v9
2424
with:
2525
workflow: ${{ github.event.workflow_run.workflow_id }}
2626
name: preview-build
@@ -40,7 +40,7 @@ jobs:
4040
run: |
4141
npx surge --project ${{ steps.vars.outputs.project }} --domain ${{ steps.vars.outputs.deploy_domain }} --token ${{ secrets.SURGE_TOKEN }}
4242
- name: Update status Comment
43-
uses: actions-cool/maintain-one-comment@v3.2.0
43+
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3.2.0
4444
with:
4545
token: ${{ secrets.GITHUB_TOKEN }}
4646
body: |
@@ -50,7 +50,7 @@ jobs:
5050
number: ${{ steps.vars.outputs.pr_number }}
5151
- name: Job failure
5252
if: ${{ failure() }}
53-
uses: actions-cool/maintain-one-comment@v3.2.0
53+
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3.2.0
5454
with:
5555
token: ${{ secrets.GITHUB_TOKEN }}
5656
body: |

.github/workflows/preview-start.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: create
17-
uses: actions-cool/maintain-one-comment@v3.2.0
17+
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3.2.0
1818
with:
1919
token: ${{ secrets.GITHUB_TOKEN }}
2020
body: |

.github/workflows/publication-builder.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
- name: Install Node.js
22-
uses: actions/setup-node@v4
22+
uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # v4.3.0
2323
with:
2424
node-version: '18'
2525
- name: Install Antora
2626
run: npm i antora @antora/lunr-extension
2727
- name: Generate Site
2828
run: npx antora antora-playbook.yml
2929
- name: Upload artifacts
30-
uses: actions/upload-pages-artifact@v3
30+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
3131
with:
3232
path: build/vale-at-red-hat
3333
- name: Commit artifact to publication branch
34-
uses: peaceiris/actions-gh-pages@v4
34+
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
3535
with:
3636
force_orphan: true # publish branch with only the latest commit
3737
github_token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222

2323
- name: Create release
2424
run: |

.github/workflows/vale-on-pull.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
name: Linting with Vale
1616
runs-on: ubuntu-22.04
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919
- name: Install Asciidoctor
2020
run: sudo apt-get install -y asciidoctor
21-
- uses: errata-ai/vale-action@reviewdog
21+
- uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
2222
with:
2323
filter_mode: diff_context
2424
vale_flags: "--no-exit --minAlertLevel=error --glob=*.adoc"

.github/workflows/validate-rules.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout code
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1818
with:
1919
ref: ${{ github.event.pull_request.head.sha }}
2020
fetch-depth: 0

.github/workflows/validate-scripts.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1515
with:
1616
ref: ${{ github.event.pull_request.head.sha }}
1717
fetch-depth: 0 # enable git diff and building many branches

modules/user-guide/pages/using-vale-github-action.adoc

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ on: [pull_request]
4141
jobs:
4242
vale:
4343
name: Linting with Vale
44-
runs-on: ubuntu-latest
44+
runs-on: ubuntu-22.04
4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4747
- name: Install Asciidoctor
4848
run: sudo apt-get install -y asciidoctor
49-
- uses: errata-ai/vale-action@reviewdog
49+
- uses: errata-ai/vale-action@d89dee975228ae261d22c15adcd03578634d429c # v2.1.1
5050
with:
5151
filter_mode: diff_context
52-
vale_flags: "--no-exit --minAlertLevel=error"
52+
vale_flags: "--no-exit --minAlertLevel=error --glob=*.adoc"
5353
reporter: github-pr-review
5454
fail_on_error: true
5555
env:

0 commit comments

Comments
 (0)