Use trusted publisher and environment #24
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 single 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: [pull_request] | |
jobs: | |
ci: | |
secrets: inherit | |
uses: ./.github/workflows/ci.yml | |
merge-checks-ok: | |
runs-on: ubuntu-latest | |
needs: [ci] | |
steps: | |
- name: ok | |
run: | | |
echo "This code is mergeable" |