Skip to content

WIP: Merge-Gate

WIP: Merge-Gate #1

Workflow file for this run

name: Merge-Gate
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)"

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

View workflow run for this annotation

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

Invalid workflow file

You have an error in your yaml syntax on line 21
approved:
allow-merge:
name: Allow Merge
runs-on: ubuntu-latest
needs: [ ci-gate, saas-gate ]
steps:
- name: Allow Merge
run: echo "Merged Approved"