Skip to content

Trigger release

Trigger release #16

name: Trigger release
on:
workflow_dispatch:
jobs:
authorised_user_check:
runs-on: ubuntu-latest
if: github.actor == 'alphagov-pay-ci-concourse'
steps:
- run: echo "alphagov-pay-ci-concourse triggered a new release"
trigger_release:
needs: authorised_user_check
permissions:
contents: write
uses: ./.github/workflows/post-merge.yml

Check failure on line 17 in .github/workflows/ci-trigger-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-trigger-release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci-trigger-release.yml" -> "./.github/workflows/post-merge.yml" (source branch with sha:1c3dd5b37014fedd068d6134d9375baab785905e) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets:
pact_broker_username: ${{ secrets.pact_broker_username }}
pact_broker_password: ${{ secrets.pact_broker_password }}