Files
Conor Sloan 84bfe2de2e Remove attestation write permissions from release workflow
This isn't needed now that we're storing attestations in GHCR.
2024-08-29 13:43:50 +01:00

20 lines
547 B
YAML

# Package and publish the action when a new release is created
# Since this is the publishing action itself, we can use the current checkout as the action
name: 'Publish Immutable Action Version'
on:
release:
types: [created]
permissions:
id-token: write
packages: write
jobs:
package-and-publish:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Publish Immutable Action Version
uses: ./
with:
github-token: ${{ secrets.GITHUB_TOKEN }}