name: Create release on: push: tags: - "v*.*.*" permissions: contents: read jobs: create-release: permissions: contents: write # for softprops/action-gh-release to create GitHub release runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: body: "Changelog: https://www.sphinx-doc.org/en/master/changes.html"