Skip to content

ci: workflow syntax #21

ci: workflow syntax

ci: workflow syntax #21

Workflow file for this run

# 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

View workflow run for this annotation

GitHub Actions / Merge Requires

Invalid workflow file

The workflow is not valid. .github/workflows/merge-requires.yml (Line: 19, Col: 5): Required property is missing: runs-on .github/workflows/merge-requires.yml (Line: 26, Col: 5): Required property is missing: runs-on
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"