Skip to content

Commit dabafcc

Browse files
authored
Pin github actions to hashes (#277)
1 parent d208a66 commit dabafcc

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

.github/workflows/ci.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
python-version: ["3.13"]
1717

1818
steps:
19-
- uses: actions/checkout@v6
19+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
2020
- name: Install uv
21-
uses: astral-sh/setup-uv@v7
21+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
enable-cache: true
@@ -67,9 +67,9 @@ jobs:
6767
--health-timeout 5s
6868
--health-retries 5
6969
steps:
70-
- uses: actions/checkout@v6
70+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
7171
- name: Install uv
72-
uses: astral-sh/setup-uv@v7
72+
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
7373
with:
7474
python-version: ${{ matrix.python-version }}
7575
enable-cache: true
@@ -100,19 +100,19 @@ jobs:
100100
- test-app
101101
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop' || (github.event_name == 'release' && github.event.action == 'released')
102102
steps:
103-
- uses: actions/checkout@v6
104-
- uses: docker/setup-qemu-action@v4
103+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
104+
- uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
105105
with:
106106
platforms: arm64
107-
- uses: docker/setup-buildx-action@v4
107+
- uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
108108
- name: Dockerhub login
109-
uses: docker/login-action@v4
109+
uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
110110
with:
111111
username: ${{ secrets.DOCKER_USER }}
112112
password: ${{ secrets.DOCKER_PASSWORD }}
113113
- name: Deploy Master
114114
if: github.ref == 'refs/heads/main'
115-
uses: docker/build-push-action@v7
115+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7
116116
with:
117117
context: .
118118
file: docker/web/Dockerfile
@@ -125,7 +125,7 @@ jobs:
125125
cache-to: type=gha,mode=max
126126
- name: Deploy Develop
127127
if: github.ref == 'refs/heads/develop'
128-
uses: docker/build-push-action@v7
128+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7
129129
with:
130130
context: .
131131
file: docker/web/Dockerfile
@@ -138,7 +138,7 @@ jobs:
138138
cache-to: type=gha,mode=max
139139
- name: Deploy Tag
140140
if: (github.event_name == 'release' && github.event.action == 'released')
141-
uses: docker/build-push-action@v7
141+
uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7
142142
with:
143143
context: .
144144
file: docker/web/Dockerfile
@@ -157,7 +157,7 @@ jobs:
157157
needs: [docker-deploy]
158158
if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/develop'
159159
steps:
160-
- uses: actions/checkout@v6
160+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
161161
- name: Deploy Staging
162162
if: github.ref == 'refs/heads/main'
163163
run: bash scripts/autodeploy.sh

.github/workflows/cla.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: "CLA Assistant"
1313
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
1414
# Beta Release
15-
uses: cla-assistant/github-action@v2.6.1
15+
uses: cla-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
1616
env:
1717
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1818
# the below token should have repo scope and must be manually added by you in the repository's secret

0 commit comments

Comments
 (0)