Skip to content

Commit

Permalink
Add releasability check action (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
johann-beleites-sonarsource authored Jul 3, 2024
1 parent f807f9d commit 96ef006
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/releasability.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Releasability status

on:
workflow_dispatch:

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@23c9ad31b2d613bade88da898dfdca0b5c65ac69 # v1.2.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 96ef006

Please sign in to comment.