From e3b484be6104837a28dc57d6976a1aa078e5acff Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 1 Mar 2022 15:27:09 -0800 Subject: [PATCH] chore: update github actions (#1361) (#618) * chore: update github actions * chore: update Source-Link: https://github.com/googleapis/synthtool/commit/1622741e6877d4b335b137ac7e07f7f32d4e5af7 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a Co-authored-by: Owl Bot --- .../.github/.OwlBot.lock.yaml | 2 +- .../.github/PULL_REQUEST_TEMPLATE.md | 3 +++ .../.github/workflows/approve-readme.yaml | 2 +- .../.github/workflows/ci.yaml | 20 +++++++++---------- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/java-shared-dependencies/.github/.OwlBot.lock.yaml b/java-shared-dependencies/.github/.OwlBot.lock.yaml index a8ddd81ae9..53941094cf 100644 --- a/java-shared-dependencies/.github/.OwlBot.lock.yaml +++ b/java-shared-dependencies/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:ebc2104854c5b81c6fd72ca79400a2e20e0d510c5e0654fd1a19e5c9be160ca6 + digest: sha256:e3746f84955528d0fe24bf2e4df89875d6ce5a036af01b9c326d61a38838523a diff --git a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md index c858100126..f17b29f91b 100644 --- a/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md +++ b/java-shared-dependencies/.github/PULL_REQUEST_TEMPLATE.md @@ -5,3 +5,6 @@ Thank you for opening a Pull Request! Before submitting your PR, there are a few - [ ] Appropriate docs were updated (if necessary) Fixes # ☕️ + +If you write sample code, please follow the [samples format]( +https://github.com/GoogleCloudPlatform/java-docs-samples/blob/main/SAMPLE_FORMAT.md). diff --git a/java-shared-dependencies/.github/workflows/approve-readme.yaml b/java-shared-dependencies/.github/workflows/approve-readme.yaml index 1bb1823276..f5fc7d5169 100644 --- a/java-shared-dependencies/.github/workflows/approve-readme.yaml +++ b/java-shared-dependencies/.github/workflows/approve-readme.yaml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest if: github.repository_owner == 'googleapis' && github.head_ref == 'autosynth-readme' steps: - - uses: actions/github-script@v5 + - uses: actions/github-script@v6 with: github-token: ${{secrets.YOSHI_APPROVER_TOKEN}} script: | diff --git a/java-shared-dependencies/.github/workflows/ci.yaml b/java-shared-dependencies/.github/workflows/ci.yaml index 6b5e56aaac..83ef7f9c2c 100644 --- a/java-shared-dependencies/.github/workflows/ci.yaml +++ b/java-shared-dependencies/.github/workflows/ci.yaml @@ -27,8 +27,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -39,8 +39,8 @@ jobs: windows: runs-on: windows-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8 @@ -54,8 +54,8 @@ jobs: matrix: java: [8, 11, 17] steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: ${{matrix.java}} @@ -64,8 +64,8 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 11 @@ -76,8 +76,8 @@ jobs: clirr: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-java@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-java@v3 with: distribution: zulu java-version: 8