Skip to content

Commit d5fc166

Browse files
authored
Merge pull request #29 from gitpod-io/je/pin-github-actions
chore: pin GitHub Actions to SHA
2 parents db31b67 + 8f22d97 commit d5fc166

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build-and-publish-images.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2222

2323
- name: Authenticate to Google Cloud
2424
id: auth
25-
uses: google-github-actions/auth@v2
25+
uses: google-github-actions/auth@c200f3691d83b41bf9bbd8638997a462592937ed # v2
2626
with:
2727
project_id: ${{ env.PROJECT_ID }}
2828
workload_identity_provider: ${{ secrets.WIF_PROVIDER }}
2929
service_account: ${{ secrets.WIF_SERVICE_ACCOUNT }}
3030

3131
- name: Set up Cloud SDK
32-
uses: google-github-actions/setup-gcloud@v2
32+
uses: google-github-actions/setup-gcloud@e427ad8a34f8676edf47cf7d7925499adf3eb74f # v2
3333

3434
- name: Install Packer
35-
uses: hashicorp/setup-packer@main
35+
uses: hashicorp/setup-packer@76e3039aa951aa4e6efe7e6ee06bc9ceb072142d # main
3636
with:
3737
version: "latest"
3838

.github/workflows/check-runner-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
1919

2020
- name: Get current runner version
2121
id: current-version

.github/workflows/create-vm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
machine-zone: ${{ steps.create-runner.outputs.machine-zone }}
3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
3737
- name: Authenticate to Google Cloud
3838
id: auth
3939
if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name
40-
uses: google-github-actions/auth@v1
40+
uses: google-github-actions/auth@3a3c4c57d294ef65efaaee4ff17b22fa88dd3c69 # v1
4141
with:
4242
credentials_json: ${{ secrets.gcp_credentials }}
4343
- name: Activate GCP service account

.github/workflows/delete-vm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
steps:
2222
- id: auth
2323
name: Authenticate to Google Cloud
24-
uses: google-github-actions/auth@v1
24+
uses: google-github-actions/auth@3a3c4c57d294ef65efaaee4ff17b22fa88dd3c69 # v1
2525
with:
2626
credentials_json: ${{ secrets.gcp_credentials }}
2727
- id: gcloud-auth

0 commit comments

Comments
 (0)