Skip to content

Commit 90a7db1

Browse files
authored
Merge pull request #37927 from apache/gcp-actions
Pin to SHA for GCP GitHub Actions
2 parents 600b7d9 + 45c2863 commit 90a7db1

18 files changed

+25
-25
lines changed

.github/workflows/beam_CleanUpGCPResources.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
with:
7575
disable-cache: true
7676
- name: Setup gcloud
77-
uses: google-github-actions/setup-gcloud@v3.0.1
77+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
7878
- name: Install gcloud bigtable cli
7979
run: gcloud components install cbt
8080
- name: run cleanup GCP resources

.github/workflows/beam_Infrastructure_PolicyEnforcer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
pip install -r requirements.txt
5757
5858
- name: Setup gcloud
59-
uses: google-github-actions/setup-gcloud@v3.0.1
59+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
6060

6161
- name: Run IAM Policy Enforcement
6262
working-directory: ./infra/enforcement

.github/workflows/beam_Infrastructure_SecurityLogging.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
pip install -r requirements.txt
5959
6060
- name: Setup gcloud
61-
uses: google-github-actions/setup-gcloud@v3.0.1
61+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
6262

6363
- name: Initialize Log Sinks
6464
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'

.github/workflows/beam_Infrastructure_ServiceAccountKeys.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
steps:
5151
- uses: actions/checkout@v4
5252
- name: Setup gcloud
53-
uses: google-github-actions/setup-gcloud@v3.0.1
53+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
5454

5555
- name: Setup Python
5656
uses: actions/setup-python@v4

.github/workflows/beam_Infrastructure_UsersPermissions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
with:
5050
ref: ${{ github.event.pull_request.merged == true && github.base_ref || github.event.pull_request.head.sha }}
5151
- name: Setup gcloud
52-
uses: google-github-actions/setup-gcloud@v3.0.1
52+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
5353
- name: Install Terraform
5454
uses: hashicorp/setup-terraform@v3
5555
with:

.github/workflows/beam_Playground_Precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
sudo apt-get install sbt --yes
7676
sudo wget https://codeload.github.com/spotify/scio.g8/zip/7c1ba7c1651dfd70976028842e721da4107c0d6d -O scio.g8.zip && unzip scio.g8.zip && sudo mv scio.g8-7c1ba7c1651dfd70976028842e721da4107c0d6d /opt/scio.g8
7777
- name: Set up Cloud SDK and its components
78-
uses: google-github-actions/setup-gcloud@v3.0.1
78+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
7979
with:
8080
install_components: 'beta,cloud-datastore-emulator'
8181
version: '${{ env.DATASTORE_EMULATOR_VERSION }}'

.github/workflows/beam_PostCommit_Python_Arm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,12 @@ jobs:
8484
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
8585
sudo chmod +x /usr/local/bin/docker-compose
8686
- name: Authenticate on GCP
87-
uses: google-github-actions/auth@v3.0.0
87+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
8888
with:
8989
service_account: ${{ secrets.GCP_SA_EMAIL }}
9090
credentials_json: ${{ secrets.GCP_SA_KEY }}
9191
- name: Set up Cloud SDK
92-
uses: google-github-actions/setup-gcloud@v3.0.1
92+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
9393
- name: Set up Docker Buildx
9494
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
9595
- name: GCloud Docker credential helper

.github/workflows/beam_PostCommit_Python_ValidatesContainer_Dataflow.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ jobs:
8080
java-version: default
8181
python-version: ${{ matrix.python_version }}
8282
- name: Authenticate to GCP
83-
uses: google-github-actions/auth@v3.0.0
83+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
8484
with:
8585
service_account: ${{ secrets.GCP_SA_EMAIL }}
8686
credentials_json: ${{ secrets.GCP_SA_KEY }}
8787
- name: Set up Cloud SDK
88-
uses: google-github-actions/setup-gcloud@v3.0.1
88+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
8989
- name: Configure Docker auth for GCR
9090
run: |
9191
gcloud --quiet auth configure-docker us.gcr.io

.github/workflows/beam_PostCommit_Python_ValidatesContainer_Dataflow_With_RC.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ jobs:
8282
java-version: default
8383
python-version: ${{ matrix.python_version }}
8484
- name: Authenticate to GCP
85-
uses: google-github-actions/auth@v3.0.0
85+
uses: google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093
8686
with:
8787
service_account: ${{ secrets.GCP_SA_EMAIL }}
8888
credentials_json: ${{ secrets.GCP_SA_KEY }}
8989
- name: Set up Cloud SDK
90-
uses: google-github-actions/setup-gcloud@v3.0.1
90+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
9191
- name: Set PY_VER_CLEAN
9292
id: set_py_ver_clean
9393
run: |

.github/workflows/beam_PostCommit_Yaml_Xlang_Direct.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
python-version: default
7777
java-version: '11'
7878
- name: Set up Cloud SDK
79-
uses: google-github-actions/setup-gcloud@v3.0.1
79+
uses: google-github-actions/setup-gcloud@aa5489c8933f4cc7a4f7d45035b3b1440c9c10db
8080
- name: run PostCommit Yaml Xlang Direct script
8181
uses: ./.github/actions/gradle-command-self-hosted-action
8282
with:

0 commit comments

Comments
 (0)