Skip to content

Commit

Permalink
BUILD-5447 implement releasability check
Browse files Browse the repository at this point in the history
  • Loading branch information
SamirM-BE committed Jun 26, 2024
1 parent ab040ac commit c535f07
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/releasability.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# yamllint disable rule:line-length
---
name: Releasability status
'on':
check_suite:
types:
- completed
jobs:
update_releasability_status:
runs-on: ubuntu-latest
name: Releasability status
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/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c535f07

Please sign in to comment.