Releasability Check #2217
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: Releasability Check | |
| # Update releasability check. This workflow run continuously, | |
| # in contrast to the other releasability, which needs to be triggered manually. | |
| 'on': | |
| check_suite: | |
| types: | |
| - completed | |
| jobs: | |
| update_releasability_status: | |
| runs-on: github-ubuntu-latest-s | |
| name: Releasability Check | |
| permissions: | |
| id-token: write | |
| statuses: write | |
| contents: read | |
| if: >- | |
| (contains(fromJSON('["main", "master"]'), | |
| github.event.check_suite.head_branch) || | |
| startsWith(github.event.check_suite.head_branch, 'dogfood-') || | |
| startsWith(github.event.check_suite.head_branch, 'branch-')) && | |
| github.event.check_suite.conclusion == 'success' && | |
| github.event.check_suite.app.slug == 'cirrus-ci' | |
| steps: | |
| - uses: >- | |
| SonarSource/gh-action_releasability/releasability-status@v3 | |
| with: | |
| optional_checks: "Jira" | |
| env: | |
| GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' |