Create registration endpoint (#20) #20
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
name: Orchestrates sub-workflows | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
push: | |
branches: | |
- master | |
concurrency: | |
# When the workflow is running on master, we want to let it finish everytime. | |
# If it's not on master, we use the ref (mainly branch name) instead. | |
# We fall back to the run_id if the ref is undefined (manual trigger). | |
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/master' && github.run_id || github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint-all: | |
uses: ./.github/workflows/lint.yml | |
test-all: | |
uses: ./.github/workflows/test.yml | |
build-api: | |
needs: | |
- lint-all | |
- test-all | |
uses: ./.github/workflows/build.yml | |
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job. | |
permissions: | |
contents: read | |
packages: write |