Skip to content

chore(deps): update snok/container-retention-policy action to v2.2.1 … #35

chore(deps): update snok/container-retention-policy action to v2.2.1 …

chore(deps): update snok/container-retention-policy action to v2.2.1 … #35

Workflow file for this run

---
name: Release
on:
push:
branches:
- main
workflow_dispatch:
permissions: {}
jobs:
release-please:
uses: ./.github/workflows/release-please.yaml

Check failure on line 12 in .github/workflows/release.yaml

View workflow run for this annotation

GitHub Actions / Release

Invalid workflow file

The workflow is not valid. In .github/workflows/release.yaml (Line: 12, Col: 11): Error from called workflow statnett/github-workflows/.github/workflows/release-please.yaml@d8ae0f54953ceadf695372e44cd364db1f0c8a12 (Line: 16, Col: 9): Unexpected value 'deprecationMessage' In .github/workflows/release.yaml (Line: 12, Col: 11): Error from called workflow statnett/github-workflows/.github/workflows/release-please.yaml@d8ae0f54953ceadf695372e44cd364db1f0c8a12 (Line: 20, Col: 9): Unexpected value 'deprecationMessage'
secrets: inherit
permissions:
contents: write
pull-requests: write
tag-major-minor:
runs-on: ubuntu-latest
needs: release-please
permissions:
contents: write
if: ${{ needs.release-please.outputs.releases_created }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git tag --delete v${{ needs.release-please.outputs.major }} || true
git tag --delete v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} || true
git push --delete origin v${{ needs.release-please.outputs.major }} || true
git push --delete origin v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} || true
git tag -a v${{ needs.release-please.outputs.major }} -m "Release v${{ needs.release-please.outputs.major }}"
git tag -a v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }} -m "Release v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }}"
git push origin v${{ needs.release-please.outputs.major }}
git push origin v${{ needs.release-please.outputs.major }}.${{ needs.release-please.outputs.minor }}