Skip to content

Commit 3fc6d19

Browse files
authored
Merge pull request #117 from step-security-bot/stepsecurity_remediation_1737344280
[StepSecurity] ci: Harden GitHub Actions
2 parents 74fe0d5 + 61d50e0 commit 3fc6d19

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
debug_suffix: ${{ matrix.debug_suffix }}
4444

4545
steps:
46-
- uses: actions/checkout@v4.1.0
46+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
4747

48-
- uses: docker/login-action@v3
48+
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
4949
with:
5050
username: ${{ secrets.DOCKER_USER }}
5151
password: ${{ secrets.DOCKER_PASS }}
5252

53-
- uses: docker/login-action@v3
53+
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
5454
with:
5555
registry: ghcr.io
5656
username: ${{ secrets.GHCR_USER }}
@@ -99,7 +99,7 @@ jobs:
9999
docker push ghcr.io/ruby/ruby:$tag
100100
done
101101
102-
- uses: ruby/action-slack@v3.2.2
102+
- uses: ruby/action-slack@54175162371f1f7c8eb94d7c8644ee2479fcd375 # v3.2.2
103103
with:
104104
payload: |
105105
{
@@ -127,15 +127,15 @@ jobs:
127127
needs: build
128128

129129
steps:
130-
- uses: actions/checkout@v4.1.0
130+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
131131

132-
- uses: docker/login-action@v3
132+
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
133133
with:
134134
username: ${{ secrets.DOCKER_USER }}
135135
password: ${{ secrets.DOCKER_PASS }}
136136
if: ${{ matrix.registry_name == 'rubylang' }}
137137

138-
- uses: docker/login-action@v3
138+
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
139139
with:
140140
registry: ghcr.io
141141
username: ${{ secrets.GHCR_USER }}
@@ -160,7 +160,7 @@ jobs:
160160
ubuntu_version="${{ matrix.ubuntu_version }}" \
161161
image_version_suffix=${{ matrix.image_version_suffix }}
162162
163-
- uses: ruby/action-slack@v3.2.2
163+
- uses: ruby/action-slack@54175162371f1f7c8eb94d7c8644ee2479fcd375 # v3.2.2
164164
with:
165165
payload: |
166166
{

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- arm64
2525

2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2828

2929
- name: Build image
3030
run: |

0 commit comments

Comments
 (0)