Skip to content

Commit a63f67e

Browse files
committed
Update all GHA and reference pinned version number/tag
Ensure we're using the latest released version of all GitHub Actions we're using, make it clear what version we have pinned. Signed-off-by: Joshua Lock <joshuagloe@gmail.com>
1 parent a1f5585 commit a63f67e

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/check-latest-spec-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
contents: read
3838
issues: write
3939
steps:
40-
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea
40+
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
4141
with:
4242
script: |
4343
const release = await github.rest.repos.getLatestRelease({

.github/workflows/draft.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Set up Python
13-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
13+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
1414
with:
1515
python-version: '3.10'
1616
cache: pip
1717

1818
- name: Clone
19-
uses: actions/checkout@aadec899646c8e0f34c52d9219c2faac36626b55
19+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2020

2121
- name: Build specification
2222
run: |
@@ -25,7 +25,7 @@ jobs:
2525
make -f ../Makefile draft
2626
2727
- name: Switch branch
28-
uses: actions/checkout@aadec899646c8e0f34c52d9219c2faac36626b55
28+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
2929
with:
3030
ref: gh-pages
3131
clean: false

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
name: Sanity checks before a PR merge
1010
runs-on: ubuntu-20.04
1111
steps:
12-
- uses: actions/checkout@aadec899646c8e0f34c52d9219c2faac36626b55
12+
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1313
with:
1414
fetch-depth: 0 # we want all refs for the --is-ancestor check
1515

1616
- name: Set up Python
17-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
17+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
1818
with:
1919
python-version: '3.10'
2020
cache: pip

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
contents: write # required to publish (tag) a release
1313
steps:
1414
- name: Clone main
15-
uses: actions/checkout@aadec899646c8e0f34c52d9219c2faac36626b55
15+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
1616
with:
1717
fetch-depth: 0
1818

@@ -30,14 +30,14 @@ jobs:
3030
3131
- name: Set up Python
3232
if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
33-
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
33+
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
3434
with:
3535
python-version: '3.10'
3636
cache: 'pip'
3737

3838
- name: Make release
3939
if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
40-
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e
40+
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
with:
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: Switch branch
5656
if: steps.getver.outputs.spec_version != steps.prevver.outputs.prev_version
57-
uses: actions/checkout@aadec899646c8e0f34c52d9219c2faac36626b55
57+
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
5858
with:
5959
ref: gh-pages
6060
clean: false

0 commit comments

Comments
 (0)