Debian Codegraph @

ansible_collections/community/aws/.github/workflows/all_green_ckeck.yml

raw
1 ---
2 name: all_green
3
4 concurrency:
5 group: ${{ github.head_ref }}
6 cancel-in-progress: true
7
8 on: # yamllint disable-line rule:truthy
9 pull_request:
10 types:
11 - opened
12 - reopened
13 - labeled
14 - unlabeled
15 - synchronize
16 branches:
17 - main
18 - 'stable-*'
19 tags:
20 - '*'
21
22 jobs:
23 changelog-and-linters:
24 uses: ./.github/workflows/changelog_and_linters.yml # use the callable changelog_and_linters job to run tests
25 sanity:
26 uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests
27 units:
28 uses: ./.github/workflows/units.yml # use the callable units job to run tests
29 all_green:
30 if: ${{ always() }}
31 needs:
32 - changelog-and-linters
33 - sanity
34 - units
35 runs-on: ubuntu-latest
36 steps:
37 - run: >-
38 python -c "assert set([
39 '${{ needs.changelog-and-linters.result }}',
40 '${{ needs.sanity.result }}',
41 '${{ needs.units.result }}'
42 ]) == {'success'}"