Skip to content

Commit b2cae1d

Browse files
Add releasability workflow
1 parent 38de579 commit b2cae1d

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/releasability.yml

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

0 commit comments

Comments
 (0)