Skip to content

Commit 868e0f4

Browse files
Merge pull request #2223 from SamuelMarks:update-workflows
PiperOrigin-RevId: 819879087
2 parents 210e9d7 + c300408 commit 868e0f4

8 files changed

Lines changed: 54 additions & 15 deletions

File tree

.github/workflows/AddLabel.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
runs-on: ubuntu-latest
3232

3333
steps:
34-
- uses: actions/github-script@v6
34+
- uses: actions/github-script@v7
3535
with:
3636
script: |
3737
const owner = "google"

.github/workflows/CPUTests.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2023–2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
name: Linter
216

317
on:
@@ -22,9 +36,9 @@ jobs:
2236
os: [ubuntu-24.04]
2337
python-version: ['3.12']
2438
steps:
25-
- uses: actions/checkout@v3
39+
- uses: actions/checkout@v5
2640
- name: Set up Python ${{ matrix.python-version }}
27-
uses: actions/setup-python@v4
41+
uses: actions/setup-python@v5
2842
with:
2943
python-version: ${{ matrix.python-version }}
3044
- name: Install Dependencies

.github/workflows/RunTests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
- name: Check whether one of the jobs failed
162162
id: report_failure
163163
if: ${{ contains(needs.*.result, 'failure') && github.event.pull_request == null && github.event_name != 'workflow_dispatch' }}
164-
uses: jayqi/failed-build-issue-action@1a893bbf43ef1c2a8705e2b115cd4f0fe3c5649b # v1.2.0
164+
uses: jayqi/failed-build-issue-action@v1.2
165165
with:
166166
github-token: ${{ secrets.GITHUB_TOKEN }}
167167
labels: "failed-build"

.github/workflows/UploadDockerImages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,13 @@ jobs:
7676

7777
# Setup for GKE runners per b/412986220#comment82 and b/412986220#comment90
7878
steps:
79-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
79+
- uses: actions/checkout@v5
8080
- name: Mark git repository as safe
8181
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
8282
- name: Configure Docker
8383
run: gcloud auth configure-docker us-docker.pkg.dev,gcr.io -q
8484
- name: Set up Docker BuildX
85-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
85+
uses: docker/setup-buildx-action@v3.11.1
8686
with:
8787
driver: remote
8888
endpoint: tcp://localhost:1234
@@ -140,13 +140,13 @@ jobs:
140140
base_image: us-docker.pkg.dev/tpu-prod-env-multipod/jax-stable-stack/candidate/gpu:latest
141141

142142
steps:
143-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
143+
- uses: actions/checkout@v5
144144
- name: Mark git repository as safe
145145
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
146146
- name: Configure Docker
147147
run: gcloud auth configure-docker us-docker.pkg.dev,gcr.io,us-central1-docker.pkg.dev -q
148148
- name: Set up Docker BuildX
149-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
149+
uses: docker/setup-buildx-action@v3.11.1
150150
with:
151151
driver: remote
152152
endpoint: tcp://localhost:1234
@@ -173,4 +173,4 @@ jobs:
173173
JAX_AI_IMAGE_BASEIMAGE=${{ matrix.base_image }}
174174
COMMIT_HASH=${{ steps.vars.outputs.sha_short }}
175175
DEVICE=gpu
176-
TEST_TYPE=xlml
176+
TEST_TYPE=xlml

.github/workflows/build_upload_internal.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ jobs:
4141
runs-on: ${{ inputs.cloud_runner != '' && inputs.cloud_runner || fromJson(format('["self-hosted", "{0}", "{1}"]', inputs.device_type, inputs.device_name)) }}
4242
container: google/cloud-sdk:524.0.0
4343
steps:
44-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
44+
- uses: actions/checkout@v5
4545
- name: Mark git repository as safe
4646
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
4747
- name: Configure Docker
4848
run: gcloud auth configure-docker us-docker.pkg.dev,gcr.io,us-central1-docker.pkg.dev -q
4949
- name: Set up Docker BuildX
50-
uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2
50+
uses: docker/setup-buildx-action@v3.11.1
5151
with:
5252
driver: remote
5353
endpoint: tcp://localhost:1234
@@ -67,5 +67,3 @@ jobs:
6767
COMMIT_HASH=${{ steps.vars.outputs.sha_short }}
6868
DEVICE=${{ inputs.device_type }}
6969
TEST_TYPE=unit_test
70-
71-

.github/workflows/require-checklist.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2023–2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
name: Require Checklist
216
on:
317
pull_request:

.github/workflows/run_tests_internal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
TPU_SKIP_MDS_QUERY: ${{ inputs.image_type == 'tpu' && inputs.device_type != 'tpu' && '1' || '' }}
6363
options: ${{ inputs.container_resource_option }}
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@v5
6666
- name: Run Tests
6767
run: |
6868
if [ "${{ inputs.is_scheduled_run }}" = "true" ]; then

.github/workflows/stale.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2023–2025 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
name: 'Close stale PRs'
216
on:
317
schedule:
@@ -33,4 +47,3 @@ jobs:
3347
close-pr-message: >
3448
This PR was closed because it has been inactive for a while.
3549
Please reopen it if you are still working on it.
36-

0 commit comments

Comments
 (0)