Skip to content

Commit 8c60b8a

Browse files
authored
ci: pin external actions to exact commit SHA (ggml-org#21033)
1 parent 287b5b1 commit 8c60b8a

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/build-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
distribution: zulu
5252

5353
- name: Setup Android SDK
54-
uses: android-actions/setup-android@v3
54+
uses: android-actions/setup-android@9fc6c4e9069bf8d3d10b2204b1fb8f6ef7065407 # v3
5555
with:
5656
log-accepted-android-sdk-licenses: false
5757

.github/workflows/build-msys.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
4444

4545
- name: Setup ${{ matrix.sys }}
46-
uses: msys2/setup-msys2@v2
46+
uses: msys2/setup-msys2@cafece8e6baf9247cf9b1bf95097b0b983cc558d # v2
4747
with:
4848
update: true
4949
msystem: ${{matrix.sys}}

.github/workflows/docker.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ jobs:
5656

5757
- name: Set up QEMU
5858
if: ${{ matrix.config.tag != 's390x' }}
59-
uses: docker/setup-qemu-action@v3
59+
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
6060
with:
6161
image: tonistiigi/binfmt:qemu-v7.0.0-28
6262

6363
- name: Set up Docker Buildx
64-
uses: docker/setup-buildx-action@v3
64+
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
6565

6666
- name: Log in to Docker Hub
67-
uses: docker/login-action@v3
67+
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
6868
with:
6969
registry: ghcr.io
7070
username: ${{ github.repository_owner }}
@@ -127,7 +127,7 @@ jobs:
127127

128128
- name: Build and push Full Docker image (tagged + versioned)
129129
if: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && matrix.config.full == true }}
130-
uses: docker/build-push-action@v6
130+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
131131
with:
132132
context: .
133133
push: true
@@ -152,7 +152,7 @@ jobs:
152152

153153
- name: Build and push Light Docker image (tagged + versioned)
154154
if: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && matrix.config.light == true }}
155-
uses: docker/build-push-action@v6
155+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
156156
with:
157157
context: .
158158
push: true
@@ -177,7 +177,7 @@ jobs:
177177

178178
- name: Build and push Server Docker image (tagged + versioned)
179179
if: ${{ (github.event_name == 'push' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && matrix.config.server == true }}
180-
uses: docker/build-push-action@v6
180+
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
181181
with:
182182
context: .
183183
push: true

.github/workflows/editorconfig.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-slim
2424
steps:
2525
- uses: actions/checkout@v6
26-
- uses: editorconfig-checker/action-editorconfig-checker@v2
26+
- uses: editorconfig-checker/action-editorconfig-checker@840e866d93b8e032123c23bac69dece044d4d84c # v2.2.0
2727
with:
2828
version: v3.0.3
2929
- run: editorconfig-checker

.github/workflows/gguf-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Build package
3939
run: cd gguf-py && poetry build
4040
- name: Publish package
41-
uses: pypa/gh-action-pypi-publish@release/v1
41+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1
4242
with:
4343
password: ${{ secrets.PYPI_API_TOKEN }}
4444
packages-dir: gguf-py/dist

.github/workflows/python-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
with:
3232
python-version: "3.11"
3333
- name: flake8 Lint
34-
uses: py-actions/flake8@v2
34+
uses: py-actions/flake8@84ec6726560b6d5bd68f2a5bed83d62b52bb50ba # v2
3535
with:
3636
plugins: "flake8-no-print"

0 commit comments

Comments
 (0)