Skip to content

Commit e162e5c

Browse files
committed
ci: pin actions by commit sha
1 parent 79d225b commit e162e5c

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
pre-commit:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1414
with: # for gitlint
1515
ref: ${{ github.event.pull_request.head.sha }}
1616
fetch-depth: 0
17-
- uses: actions/setup-python@v5
17+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
1818
with:
1919
python-version: ">=3.7"
2020
cache: pip
2121
cache-dependency-path: |
2222
.github/requirements.txt
2323
test/requirements*.txt
24-
- uses: actions/cache@v4
24+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
2525
with:
2626
path: ~/.cache/pre-commit
2727
key: pre-commit-${{hashFiles('.pre-commit-config.yaml')}}
@@ -51,8 +51,8 @@ jobs:
5151
- dist: fedoradev
5252
- dist: ubuntu14
5353
steps:
54-
- uses: actions/checkout@v4
55-
- uses: googleapis/release-please-action@v4
54+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
55+
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
5656
with:
5757
config-file: .github/release-please-config.json
5858
manifest-file: .github/release-please-manifest.json
@@ -78,7 +78,7 @@ jobs:
7878
test/docker/entrypoint.sh
7979
env:
8080
NETWORK: ${{matrix.network}}
81-
- uses: actions/upload-artifact@v4
81+
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
8282
with:
8383
path: |
8484
bash-completion-*.tar.xz

.github/workflows/update-docker-images.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ jobs:
2828
- dist: fedoradev
2929
- dist: ubuntu14
3030
steps:
31-
- uses: actions/checkout@v4
32-
- uses: docker/login-action@v3
31+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
32+
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
3333
with:
3434
registry: ghcr.io
3535
username: ${{github.repository_owner}}
3636
password: ${{secrets.GITHUB_TOKEN}}
37-
- uses: docker/build-push-action@v6
37+
- uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
3838
with:
3939
context: test
4040
file: test/docker/${{matrix.dist}}/Dockerfile

0 commit comments

Comments
 (0)