chore(deps): bump the npm_and_yarn group across 3 directories with 3 updates #2145
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 | |
| # Entry workflow that coordinates release processes: | |
| # - Publishes official releases when code is pushed to main, adhering to the single workflow, npm trusted publishing/OIDC pattern | |
| # - Publishes preview releases when triggered via PR comment with [preview_deployment] | |
| on: | |
| push: | |
| branches: | |
| - main | |
| issue_comment: | |
| types: [created] | |
| jobs: | |
| publish-release: | |
| if: github.event_name == 'push' && github.ref == 'refs/heads/main' | |
| uses: ./.github/workflows/publish-release.yml | |
| permissions: | |
| id-token: write | |
| contents: read | |
| secrets: inherit | |
| publish-preview: | |
| if: github.event_name == 'issue_comment' && github.event.issue.pull_request && startsWith(github.event.comment.body, '[preview_deployment]') | |
| uses: ./.github/workflows/preview-release-on-comment.yml | |
| permissions: | |
| id-token: write | |
| contents: read | |
| pull-requests: write | |
| issues: write | |
| secrets: inherit |