From f951fa2438baf24671815d96881ed37cdde0bf13 Mon Sep 17 00:00:00 2001 From: Marc Jasper Date: Tue, 24 Mar 2026 14:50:47 +0100 Subject: [PATCH] Improved releasability workflow (now triggered automatically and uses v3) --- .github/workflows/releasability.yml | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/releasability.yml b/.github/workflows/releasability.yml index b85c8bcd..2837f66e 100644 --- a/.github/workflows/releasability.yml +++ b/.github/workflows/releasability.yml @@ -1,8 +1,15 @@ name: Releasability status -"on": - check_suite: + +on: + workflow_run: + workflows: + - Build types: - completed + branches: + - master + - branch-* + - dogfood-* workflow_dispatch: jobs: @@ -15,16 +22,11 @@ jobs: contents: read if: >- github.event_name == 'workflow_dispatch' || - ((contains(fromJSON('["main", "master"]'), - github.event.check_suite.head_branch) || - startsWith(github.event.check_suite.head_branch, 'branch-')) && - github.event.check_suite.conclusion == 'success' && - github.event.check_suite.app.slug == 'cirrus-ci') + github.event.workflow_run.conclusion == 'success' steps: - - uses: >- - SonarSource/gh-action_releasability/releasability-status@v2 + - uses: SonarSource/gh-action_releasability/releasability-status@v3 with: # CheckManifestValues is not supported for python projects (see PREQ-465) optional_checks: "Jira,CheckManifestValues" env: - GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}