Skip to content

WIP: Merge-Gate

WIP: Merge-Gate #2

Workflow file for this run

name: Merge-Gate

Check failure on line 1 in .github/workflows/merge-gate.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/merge-gate.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: approved
on:
workflow_call:
secrets:
ALTERNATIVE_GITHUB_TOKEN:
required: false
jobs:
ci-gate:
uses: ./.github/workflows/checks.yml
# This is an example of a saas-gate e.g. slow tests
saas-gate:
name: Version Check
runs-on: ubuntu-latest
environment: manual-trigger
steps:
- name: Slow Tests
run: |
echo "Approved (Note: This is a dummy)"
approved:
allow-merge:
name: Allow Merge
runs-on: ubuntu-latest
needs: [ ci-gate, saas-gate ]
steps:
- name: Allow Merge
run: |
echo "Merged Approved"