*Fix pull value of Relational data #71
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: PR Merged | |
on: | |
pull_request: | |
types: [closed] | |
branches: [v2] | |
permissions: | |
contents: write | |
jobs: | |
call-get-label: | |
name: Label | |
# Only run if the PR closed by merging and we have a label | |
if: ${{ github.event.pull_request.merged }} | |
uses: digi-serve/.github/.github/workflows/get-pr-release-label.yml@master | |
call-e2e-tests: | |
name: Test | |
needs: [call-get-label] | |
if: ${{ needs.call-get-label.outputs.valid == 'true' }} | |
uses: ./.github/workflows/e2e-tests.yml | |
call-bump-version: | |
name: Version | |
# Only run if tests pass | |
needs: [ call-get-label, call-e2e-tests ] | |
uses: ./.github/workflows/bump-version.yml | |
with: | |
ref: ${{ github.ref }} | |
type: ${{ needs.call-get-label.outputs.label }} | |
call-create-release: | |
name: Release | |
uses: digi-serve/.github/.github/workflows/create-release.yml@master | |
needs: [call-bump-version] | |
with: | |
tag: v${{ needs.call-bump-version.outputs.new_version }} | |
call-dispatch-updates: | |
name: Dispatch | |
needs: [ call-bump-version, call-get-label ] | |
uses: ./.github/workflows/dispatch-update-platforms.yml | |
with: | |
version: ${{ needs.call-bump-version.outputs.new_version }} | |
type: ${{ needs.call-get-label.outputs.label }} | |
secrets: | |
TOKEN: ${{ secrets.PAT }} | |