Skip to content
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

fix: use trw @v1.11.0 #340

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
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
filename: delegator/e2e.delegator-generic.workflow_dispatch.main.checkout/build.txt
Expand All @@ -85,7 +85,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -95,7 +95,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -75,7 +75,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -85,7 +85,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -75,7 +75,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -85,7 +85,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
# NOTE: we re-use the same build.txt from other tests.
Expand All @@ -87,7 +87,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -97,7 +97,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -76,7 +76,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -86,7 +86,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -87,7 +87,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
filename: delegator/e2e.delegator-generic.workflow_dispatch.branch1.checkout/build.txt
Expand All @@ -88,7 +88,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -98,7 +98,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -87,7 +87,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
filename: delegator/e2e.delegator-generic.workflow_dispatch.main.checkout/build.txt
Expand All @@ -87,7 +87,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms-checkout/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -97,7 +97,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
contents: write # For asset uploads
packages: write # To write to github packages
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
name: "${{ needs.build.outputs.artifact }}" # NOTE: This is 'my-artifact'.
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/high-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -87,7 +87,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
id-token: write # For signing
contents: write # For asset uploads
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -76,7 +76,7 @@ jobs:
name: "${{ needs.build.outputs.artifact-download-name }}" # NOTE: This is randomized 'my-artifact'.
sha256: "${{ needs.build.outputs.artifact-download-sha256 }}"
path: "."
- uses: slsa-framework/example-trw/low-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/low-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -92,7 +92,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
id-token: write # For signing
contents: write # For asset uploads
actions: read
uses: slsa-framework/example-trw/.github/workflows/[email protected].1
uses: slsa-framework/example-trw/.github/workflows/[email protected].2
with:
artifact: my-artifact
content: "hello world delegator_generic_slsa3"
Expand All @@ -74,7 +74,7 @@ jobs:
name: "${{ needs.build.outputs.artifact-download-name }}" # NOTE: This is randomized 'my-artifact'.
sha256: "${{ needs.build.outputs.artifact-download-sha256 }}"
path: "."
- uses: slsa-framework/example-trw/low-perms/actions/download/[email protected].1
- uses: slsa-framework/example-trw/low-perms/actions/download/[email protected].2
with:
name: "${{ needs.build.outputs.provenance-download-name }}"
sha256: "${{ needs.build.outputs.provenance-download-sha256 }}"
Expand All @@ -90,7 +90,7 @@ jobs:
- env:
BINARY: "${{ needs.build.outputs.artifact }}"
PROVENANCE: "${{ needs.build.outputs.provenance-download-name }}/${{ needs.build.outputs.artifact }}.build.slsa" # This is defined by the builder.
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].1"
BUILDER_ID: "https://github.com/slsa-framework/example-trw/.github/workflows/[email protected].2"
run: ./.github/workflows/scripts/e2e.delegator.default.verify.sh

if-succeeded:
Expand Down
Loading
Loading