Update to v0.2.2 of GHA #192
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: read # This is required for actions/checkout | |
name: Test Action | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
test-action: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Run your action with sigstore and Archivista | |
uses: ./ # Replace this with the path to your action if different | |
with: | |
step: test | |
command: echo hello > hello.txt | |
enable-sigstore: true | |
enable-archivista: true | |
attestations: environment git github slsa | |
attestor-slsa-export: true |