Skip to content

Commit 0066de6

Browse files
authored
VLN-1643: remediate checkout-below-v7 (#841)
> 🏕️ This pull request was created by [camper](https://github.com/temporalio/camper), an automated security campaign tool. ## Finding <table> <tr><td><strong>Rule</strong></td><td><code>checkout-below-v7</code></td></tr> <tr><td><strong>Severity</strong></td><td>MEDIUM</td></tr> <tr><td><strong>Repository</strong></td><td><code>temporalio/api</code></td></tr> <tr><td><strong>Ticket</strong></td><td><a href="https://temporalio.atlassian.net/browse/VLN-1643">VLN-1643</a></td></tr> </table> ## Summary - `.github/workflows/ci.yml`: Updated the `actions/checkout` reference to the required v7.0.0 commit pin. - `.github/workflows/create-release.yml`: Updated all three `actions/checkout` references to the required v7.0.0 commit pin. - `.github/workflows/push-to-buf.yml`: Updated the `actions/checkout` reference to the required v7.0.0 commit pin. ## Instructions - **Approve** to merge this fix - **Request changes** to trigger a new remediation attempt - `/camper rebase` — rebase onto the base branch - `/camper close` — close this PR without merging - `/camper retry` — regenerate the fix from scratch against the current base Co-authored-by: picatz <14850816+picatz@users.noreply.github.com>
1 parent eed4e27 commit 0066de6

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
name: ci
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
11+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1212
- uses: actions/setup-go@7b8cf10d4e4a01d4992d18a89f4d7dc5a3e6d6f4 # v4.3.0
1313
with:
1414
go-version: '^1.21'

‎.github/workflows/create-release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
api_go_commit_sha: ${{ steps.pin_commits.outputs.api_go_commit_sha }}
3535
steps:
3636
- name: Checkout api
37-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
37+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3838
with:
3939
ref: ${{ github.event.inputs.branch }}
4040
fetch-depth: 0
4141
fetch-tags: true
4242
path: api
4343

4444
- name: Checkout api-go
45-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
45+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
4646
with:
4747
repository: temporalio/api-go
4848
ref: ${{ github.event.inputs.branch }}
@@ -114,7 +114,7 @@ jobs:
114114
owner: ${{ github.repository_owner }}
115115

116116
- name: Checkout
117-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
117+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
118118
with:
119119
ref: ${{ needs.prepare-inputs.outputs.api_commit_sha }}
120120
token: ${{ steps.generate_token.outputs.token }}

‎.github/workflows/push-to-buf.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout repo
16-
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
16+
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1717
- uses: bufbuild/buf-action@fd21066df7214747548607aaa45548ba2b9bc1ff # v1.4.0
1818
with:
1919
version: 1.49.0

0 commit comments

Comments
 (0)