chore: finalize release-please setup after initial release of new cra… #8
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
| name: Release Please | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| # fork からの実行を防止 | |
| if: github.repository == 'future-architect/uroborosql-fmt' | |
| steps: | |
| - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 | |
| with: | |
| # PAT が必須。GITHUB_TOKEN で作成した component 付きタグ push は後続 workflow を発火しないため。 | |
| # 現在は RELEASE_PLZ_TOKEN を流用。将来 RELEASE_PLEASE_TOKEN へ移行予定。 | |
| token: ${{ secrets.RELEASE_PLZ_TOKEN }} | |
| config-file: release-please-config.json | |
| manifest-file: .release-please-manifest.json |