Skip to content

Commit

Permalink
SLVSCODE-821 run releasability checks on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
sophio-japharidze-sonarsource committed Aug 13, 2024
1 parent 0ce5812 commit 71168a3
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/releasability.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
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/releasability-status@v2
with:
optional_checks: "Jira,CheckDependencies"
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit 71168a3

Please sign in to comment.