Skip to content

Commit

Permalink
Add releasabliity workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
antoine-vinot-sonarsource committed Jan 10, 2025
1 parent bbfbc75 commit aee3e5b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/releasability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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]
with:
optional_checks: "Jira"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit aee3e5b

Please sign in to comment.