Skip to content

Commit

Permalink
finish dispatch to platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
nh758 committed Sep 14, 2023
1 parent 84374bf commit bfe0f91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,21 @@ on:
required: true

jobs:
dispatch-update-services:
name: Dispatch Update Services
dispatch-update-platforms:
name: Dispatch Update Platforms
runs-on: ubuntu-latest
strategy:
matrix:
dependant:
# - ab_platform_web
- ab_platform_service
platform:
- ab_platform_web
- appbuilder_platform_service
steps:
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
env:
VERS: ${{ inputs.version }}
with:
token: ${{ secrets.PAT }}
repository: digi-serve/${{ matrix.dependant }}
repository: digi-serve/${{ matrix.platform }}
event-type: core_new_version
client-payload: '{"type": "patch", "version": "${{ env.VERS }}"}'
2 changes: 1 addition & 1 deletion .github/workflows/pr-label-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Check Release Labels
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
branches: [master]
branches: [v2]
jobs:
call-check-pr:
name: Check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-merge-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
call-dispatch-updates:
name: Dispatch
needs: [call-bump-version]
uses: ./.github/workflows/dispatch-update-services.yml
uses: ./.github/workflows/dispatch-update-platforms.yml
with:
version: ${{ needs.call-bump-version.outputs.new_version }}

0 comments on commit bfe0f91

Please sign in to comment.