Add CODEOWNERS for agentic-experience-reviewers (#24) #17
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| process: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| releases_created: ${{ steps.release-please.outputs.releases_created }} | |
| prs_created: ${{ steps.release-please.outputs.prs_created }} | |
| steps: | |
| - uses: google-github-actions/release-please-action@v4 | |
| id: release-please | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| release-type: node | |
| skip-github-pull-request: false | |
| dispatch-publish: | |
| needs: process | |
| runs-on: ubuntu-latest | |
| # Only publish once a release is actually cut (release PR merged → tag + GitHub release). | |
| if: needs.process.outputs.releases_created == 'true' | |
| steps: | |
| # Routes to publish-as-is.yml, the workflow npm authorizes for OIDC trusted publishing. | |
| # (publish.yml is not a configured trusted publisher and fails with ENEEDAUTH.) | |
| - name: Dispatch publish for releases | |
| uses: peter-evans/repository-dispatch@v2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| event-type: publish-package-as-is |