name: Release on: workflow_dispatch: push: branches: - master paths: - '**/*.py' - '**/*.sh' - 'Dockerfile' - '.pre-commit-hooks.yaml' # Ignore paths - '!tests/**' jobs: release: name: Release runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 with: persist-credentials: false fetch-depth: 0 - name: Release uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4 # v4.0.0 with: semantic_version: 18.0.0 extra_plugins: | @semantic-release/changelog@6.0.0 @semantic-release/git@10.0.0 env: GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}