Merge pull request #79 from kubewarden/golinter #17
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
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
name: Release policy | |
jobs: | |
test: | |
name: run tests and linters | |
uses: kubewarden/github-actions/.github/workflows/[email protected] | |
release: | |
needs: test | |
permissions: | |
# Required to create GH releases | |
contents: write | |
# Required to push to GHCR | |
packages: write | |
# Required by cosign keyless signing | |
id-token: write | |
uses: kubewarden/github-actions/.github/workflows/[email protected] | |
with: | |
oci-target: ghcr.io/${{ github.repository_owner }}/policies/policy-name #FIXME |