Skip to content

Commit dc5b39a

Browse files
authored
Merge pull request Wenzel#21 from Harvester57:chore/GHA-020022-stepsecurity-remediation
Pin Actions with SHA, and update to latest revision
2 parents d2f8859 + c9256db commit dc5b39a

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
task: ["fmt", "lint"]
1919

2020
steps:
21-
- uses: actions/[email protected]
21+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2222

2323
- uses: ./.github/actions/common-setup
2424

@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131

3232
steps:
33-
- uses: actions/[email protected]
33+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
3434

3535
- uses: ./.github/actions/common-setup
3636

@@ -42,7 +42,7 @@ jobs:
4242
runs-on: windows-latest
4343

4444
steps:
45-
- uses: actions/[email protected]
45+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646

4747
- uses: ./.github/actions/common-setup
4848
with:
@@ -56,7 +56,7 @@ jobs:
5656
shell: bash
5757

5858
- name: Upload Windows release artefact
59-
uses: actions/[email protected]
59+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
6060
with:
6161
name: checksec.exe
6262
path: dist/checksec.exe
@@ -77,7 +77,7 @@ jobs:
7777
shell: bash
7878

7979
steps:
80-
- uses: actions/[email protected]
80+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
8181
with:
8282
submodules: true
8383

@@ -97,14 +97,14 @@ jobs:
9797
# push on master and tag is 'v*'
9898
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
9999
steps:
100-
- uses: actions/[email protected]
100+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
101101
- name: Get the version
102102
id: get_version
103103
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
104104

105105
- name: Create a Release
106106
id: create_release
107-
uses: actions/[email protected]
107+
uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1.1.4
108108
env:
109109
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110110
with:
@@ -122,15 +122,15 @@ jobs:
122122
# the deploy action below depends on a checkout of the repo
123123
# otherwise it fails trying to remote the 'origin' remote
124124
# https://github.com/JamesIves/github-pages-deploy-action/issues/335
125-
- uses: actions/[email protected]
125+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
126126

127127
# download artifacts
128-
- uses: actions/[email protected]
128+
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
129129
with:
130130
name: checksec.exe
131131

132132
- name: Upload a Release Asset
133-
uses: actions/[email protected]
133+
uses: actions/upload-release-asset@e8f9f06c4b078e705bd2ea027f0926603fc9b4d5 # v1.0.2
134134
env:
135135
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
136136
with:
@@ -144,7 +144,7 @@ jobs:
144144
runs-on: ubuntu-latest
145145

146146
steps:
147-
- uses: actions/[email protected]
147+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
148148

149149
- uses: ./.github/actions/common-setup
150150

0 commit comments

Comments
 (0)