Skip to content

Commit a8b7a05

Browse files
Add releasability status check (#4835)
1 parent f8745ef commit a8b7a05

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Releasability status
2+
'on':
3+
check_suite:
4+
types:
5+
- completed
6+
jobs:
7+
update_releasability_status:
8+
runs-on: ubuntu-latest
9+
name: Releasability status
10+
permissions:
11+
id-token: write
12+
statuses: write
13+
contents: read
14+
if: >-
15+
(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-'))
16+
&& github.event.check_suite.conclusion == 'success'
17+
&& github.event.check_suite.app.slug == 'cirrus-ci'
18+
steps:
19+
- uses: SonarSource/gh-action_releasability/releasability-status@23c9ad31b2d613bade88da898dfdca0b5c65ac69 # v1.2.1
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)