Skip to content

fix(ci): use the release-please workflow #19

fix(ci): use the release-please workflow

fix(ci): use the release-please workflow #19

name: Semantic release
on:
push:
branches:
- master
permissions:
contents: read
jobs:
semantic-release:
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Semantic Release
id: create_release
uses: cycjimmy/semantic-release-action@v4
with:
semantic_version: 24.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
outputs:
release_created: ${{ steps.create_release.outputs.new_release_published }}
github-release:
needs: semantic-release
uses: statnett/github-workflows/.github/workflows/release-please.yaml

Check failure on line 36 in .github/workflows/semantic-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/semantic-release.yml

Invalid workflow file

invalid value workflow reference: no version specified
secrets: inherit
permissions:
contents: write
pull-requests: write
publish-to-pypi:
needs: semantic-release
if: needs.semantic-release.outputs.release_created == 'true'
permissions:
contents: write
pages: write
id-token: write
uses: ./.github/workflows/deploy.yml