Skip to content

Workflow experimentation #133

Workflow experimentation

Workflow experimentation #133

Workflow file for this run

---
name: all_green
concurrency:
group: ${{ github.head_ref }}
cancel-in-progress: true
on: # yamllint disable-line rule:truthy

Check failure on line 8 in .github/workflows/all_green_check.yml

View workflow run for this annotation

GitHub Actions / all_green

Invalid workflow file

The workflow is not valid. In ansible-collections/servicenow.itsm/.github/workflows/integration.yml@bf540f9d6d81a1ed96d0c3ba8e01b1df29ee860f (Line: 8, Col: 11): Error from called workflow ansible-collections/servicenow.itsm/.github/workflows/integration_source.yml@bf540f9d6d81a1ed96d0c3ba8e01b1df29ee860f (Line: 111, Col: 9): Unexpected value 'permissions'
pull_request:
types:
- opened
- reopened
- synchronize
branches:
- main
- 'stable-*'
tags:
- '*'
jobs:
linters:
uses: ./.github/workflows/linters.yml # use the callable linters job to run tests
sanity:
uses: ./.github/workflows/sanity.yml # use the callable sanity job to run tests
units:
uses: ./.github/workflows/units.yml # use the callable units job to run tests
integrations:
uses: ./.github/workflows/integration.yml
secrets: inherit
all_green:
if: ${{ always() }}
needs:
- linters
- sanity
- units
- integrations
runs-on: ubuntu-latest
steps:
- run: >-
python -c "assert set([
'${{ needs.linters.result }}',
'${{ needs.sanity.result }}',
'${{ needs.units.result }}'
]) == {'success'}"