chore(deps): bump the actions group with 2 updates #28
Workflow file for this run
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: | |
| workflow_dispatch: | |
| # PR merge is the only trigger. Do NOT add on:push — it fires for the same | |
| # merge event and causes duplicate release creation (GitHub 422 already_exists). | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - closed | |
| # Skip release-please for docs-only merges — release-please would scan | |
| # and find no bumpable commits anyway. Leaving it enabled just burned | |
| # runner minutes. Code + release-please config changes still trigger. | |
| paths-ignore: | |
| - '**/*.md' | |
| - 'LICENSE' | |
| - 'docs/**' | |
| - 'api-catalog/**' | |
| - '.claude/**' | |
| - '.gitignore' | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| release-please: | |
| runs-on: ubuntu-latest | |
| # Run on workflow_dispatch or merged PRs targeting main. | |
| if: | | |
| github.event_name == 'workflow_dispatch' || | |
| (github.event_name == 'pull_request' && github.event.pull_request.merged == true) | |
| steps: | |
| - name: Generate a token | |
| id: generate-token | |
| uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0 | |
| with: | |
| client-id: ${{ secrets.HPT_BOT_APP_ID }} | |
| private-key: ${{ secrets.HPT_BOT_KEY }} | |
| - uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0 | |
| id: release | |
| with: | |
| token: ${{ steps.generate-token.outputs.token }} | |
| config-file: release-please-config.json | |
| manifest-file: .release-please-manifest.json |