Show Sign in with Google button on page and post previews #19401
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: Check for Release | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| types: | |
| - opened | |
| - closed | |
| - reopened | |
| - synchronize | |
| pull_request_review: | |
| types: [submitted] | |
| concurrency: | |
| group: check-issue-has-release-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| check-issue-has-release: | |
| name: Issue must have a ZenHub release | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| if: | | |
| false == ( | |
| ( | |
| github.event_name == 'pull_request' && ( | |
| github.event.action == 'closed' || | |
| github.event.pull_request.draft == true || | |
| contains( github.head_ref, 'dependabot/' ) | |
| ) | |
| ) || | |
| github.event.pull_request.head.repo.fork | |
| ) && | |
| github.event.review.state == 'approved' | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version-file: .nvmrc | |
| - name: Check issue for release tag | |
| run: ./bin/check-issue-has-release.js | |
| env: | |
| PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number || github.event.number }} | |
| ZENHUB_GQL_API_TOKEN: ${{ secrets.ZENHUB_GQL_API_TOKEN }} |