blob: f3b1e4953b8cc91be7fa773330b1bc4ac26babc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# yamllint disable rule:line-length
---
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@2.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|