Require a changelog (#179)

* Require a changelog

* Add changelog

* Move to fragment folder

* Place correctly

* Add CL

* Add CL

* Add CL
pull/185/head
Bradley A. Thornton 2022-05-17 11:07:11 -07:00 committed by GitHub
parent 5a53c19804
commit 829a706a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,8 @@ on:
workflow_dispatch: workflow_dispatch:
jobs: jobs:
changelog:
uses: ansible-network/github_actions/.github/workflows/changelog.yml@main
sanity: sanity:
uses: ansible-network/github_actions/.github/workflows/sanity.yml@main uses: ansible-network/github_actions/.github/workflows/sanity.yml@main
unit-galaxy: unit-galaxy:
@ -15,12 +17,14 @@ jobs:
all_green: all_green:
if: ${{ always() }} if: ${{ always() }}
needs: needs:
- changelog
- sanity - sanity
- unit-galaxy - unit-galaxy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: >- - run: >-
python -c "assert set([ python -c "assert set([
'${{ needs.changelog.result }}',
'${{ needs.sanity.result }}', '${{ needs.sanity.result }}',
'${{ needs.unit-galaxy.result }}' '${{ needs.unit-galaxy.result }}'
]) == {'success'}" ]) == {'success'}"

View File

@ -0,0 +1,3 @@
---
trivial:
- Require a changelog fragment