Skip to content

Update ref for checkout-go #993

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/actions/generate-builder/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Generate the builder"
description: "Build or fetch the builder binary"
inputs:
ref:
description: "Ref of the builder."
sha:
description: "SHA of the builder."
required: true
repository:
description: "Repository of the builder."
Expand Down Expand Up @@ -34,10 +34,10 @@ runs:
using: "composite"
steps:
- name: Checkout the Go builder repository
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@e3220805577deb9d193f64e519abcb3b50851df5
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@6b7417a4b57e71263608b2bfe96f1ce421a2edfe
with:
repository: "${{ inputs.repository }}"
ref: "${{ inputs.ref }}"
sha: "${{ inputs.sha }}"
go-version: "${{ inputs.go-version }}"

- name: Generate builder
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/builder_go_slsa3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ jobs:
needs: [privacy-check, builder, rng]
steps:
- name: Checkout the Go repository
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@e3220805577deb9d193f64e519abcb3b50851df5
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@6b7417a4b57e71263608b2bfe96f1ce421a2edfe
with:
go-version: ${{ inputs.go-version }}

Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
needs: [privacy-check, builder, build-dry, rng]
steps:
- name: Checkout the Go repository
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@e3220805577deb9d193f64e519abcb3b50851df5
uses: slsa-framework/slsa-github-generator/.github/actions/checkout-go@6b7417a4b57e71263608b2bfe96f1ce421a2edfe
with:
go-version: ${{ inputs.go-version }}

Expand Down