Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 5abcc04

Browse files
stacklok-cloud-staging[bot]jhrozek
authored andcommitted
Replace unpinned actions with pinned action
1 parent 99f7489 commit 5abcc04

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@ jobs:
1515

1616
steps:
1717
- name: Checkout github repo
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1919
with:
2020
lfs: true
2121

2222
- name: Checkout LFS objects
2323
run: git lfs pull
2424

2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v5
26+
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

3030
- name: Install Poetry
31-
uses: snok/install-poetry@v1
31+
uses: snok/install-poetry@76e04a911780d5b312d89783f7b1cd627778900a # v1
3232
with:
3333
version: 1.7.1
3434
virtualenvs-create: true
3535
virtualenvs-in-project: true
3636

3737
- name: Load cached venv
3838
id: cached-poetry-dependencies
39-
uses: actions/cache@v4
39+
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4
4040
with:
4141
path: .venv
4242
key: venv-${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('**/poetry.lock') }}

.github/workflows/image-publish.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ jobs:
2020
IMAGE_NAME: ${{ github.repository }}
2121
steps:
2222
- name: Checkout
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2424
- name: Set up QEMU for cross-platform builds
25-
uses: docker/setup-qemu-action@v3
25+
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3
2626
- name: Set up Docker Buildx
27-
uses: docker/setup-buildx-action@v3
27+
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3
2828
- name: Compute version number
2929
id: version-string
3030
run: |
3131
DATE="$(date +%Y%m%d)"
3232
COMMIT="$(git rev-parse --short HEAD)"
3333
echo "tag=0.$DATE.$GITHUB_RUN_NUMBER-ref.$COMMIT" >> "$GITHUB_OUTPUT"
3434
- name: Login to GHCR
35-
uses: docker/login-action@v3
35+
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3
3636
with:
3737
registry: ghcr.io
3838
username: ${{ github.actor }}
3939
password: ${{ secrets.GITHUB_TOKEN }}
4040
- name: Set container metadata
41-
uses: docker/metadata-action@v5
41+
uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5
4242
id: docker-metadata
4343
with:
4444
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
@@ -54,7 +54,7 @@ jobs:
5454
type=raw,value=${{ steps.version-string.outputs.tag }}
5555
- name: Download artifact
5656
id: download-artifact
57-
uses: dawidd6/action-download-artifact@v7
57+
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
5858
with:
5959
github_token: ${{ github.token }}
6060
workflow: ".github/workflows/import_packages.yml"
@@ -75,7 +75,7 @@ jobs:
7575
git lfs pull
7676
- name: Build and Push Image
7777
id: image-build
78-
uses: docker/build-push-action@v6
78+
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6
7979
with:
8080
context: .
8181
platforms: linux/amd64,linux/arm64

.github/workflows/import_packages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616

1717
# Steps represent a sequence of tasks that will be executed as part of the job
1818
steps:
19-
- uses: actions/checkout@v4
20-
- uses: actions/setup-python@v5
19+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
20+
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5
2121
with:
2222
python-version: '3.12'
2323
- name: Install dependencies
@@ -32,7 +32,7 @@ jobs:
3232
3333
- name: Download json data
3434
id: download-json-data
35-
uses: dawidd6/action-download-artifact@v7
35+
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
3636
with:
3737
repo: stacklok/codegate-data
3838
workflow: ".github/workflows/generate-artifact.yml"
@@ -46,7 +46,7 @@ jobs:
4646
- name: Download artifact
4747
if: ${{ github.event.inputs.enable_artifact_download == 'true' }}
4848
id: download-artifact
49-
uses: dawidd6/action-download-artifact@v7
49+
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # v7
5050
with:
5151
github_token: ${{ github.token }}
5252
workflow: ".github/workflows/import_packages.yml"
@@ -76,7 +76,7 @@ jobs:
7676
fi
7777
7878
- name: 'Upload Backup Files'
79-
uses: actions/upload-artifact@v4
79+
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
8080
with:
8181
name: backup_weaviate
8282
path: /tmp/backup_weaviate/backup*

0 commit comments

Comments
 (0)