ci: workflow syntax #21
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow configures the repository specific choices of which CI builds | ||
# must pass in order for a build to merge. This allows a sinlge global teraform | ||
# configured rule to require a "well known" check in each repository. Whilst | ||
# granting repository stakeholders the ability configure what workflows are | ||
# appropriate to satisfy that check. | ||
name: Merge Requires | ||
on: | ||
push: | ||
jobs: | ||
ci: | ||
secrets: inherit | ||
uses: ./.github/workflows/ci.yml | ||
release: | ||
secrets: inherit | ||
uses: ./.github/workflows/package.yml | ||
merge-checks-ok: | ||
needs: [ci] | ||
Check failure on line 19 in .github/workflows/merge-requires.yml GitHub Actions / Merge RequiresInvalid workflow file
|
||
steps: | ||
- name: ok | ||
run: | | ||
echo "It's working!" | ||
release-checks-ok: | ||
if: ${{ github.event_name == 'release' }} | ||
needs: [ci, release] | ||
steps: | ||
- name: ok | ||
run: | | ||
echo "We have cleared the tower" |