build(deps): update rust crate kubewarden-policy-sdk to v0.13.5 (#148) #181
This file contains hidden or 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: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
name: Release policy | |
jobs: | |
test: | |
name: run tests and linters | |
uses: kubewarden/github-actions/.github/workflows/reusable-test-policy-rust.yml@7195340a122321bf547fda2ffc07eed6f6ae43f6 # v4.5.1 | |
check-policy-metadata: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- id: check-policy-metadata | |
shell: bash | |
run: | | |
make check-policy-metadata | |
release: | |
needs: | |
- test | |
- check-policy-metadata | |
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/reusable-release-policy-rust.yml@7195340a122321bf547fda2ffc07eed6f6ae43f6 # v4.5.1 | |
with: | |
oci-target: ghcr.io/${{ github.repository_owner }}/policies/deprecated-api-versions | |
release-catalog: | |
needs: release | |
uses: kubewarden/github-actions/.github/workflows/reusable-release-policy-catalog.yml@7195340a122321bf547fda2ffc07eed6f6ae43f6 # v4.5.1 | |
secrets: | |
# Required to dispatch the release event to the policy-catalog repository | |
APP_ID: ${{ secrets.APP_ID }} | |
APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} |