Skip to content

Commit

Permalink
Try to implement part of databind/4516: trigger repository dispatch o…
Browse files Browse the repository at this point in the history
…n merge-to-main
  • Loading branch information
cowtowncoder committed May 7, 2024
1 parent 65105cd commit fa62737
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,23 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./target/site/jacoco/jacoco.xml
flags: unittests

trigger-dep-build:
name: Trigger downstream builds
needs: [build]
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest

strategy:
fail-fast: false
repo: [ 'FasterXML/jackson-databind' ]

steps:
- name: Repository dispatch
uses: peter-evans/repository-dispatch@v3
with:
# Does regular token work within same org?
token: ${{ secrets.GITHUB_TOKEN }}
repository: ${{ matrix.repo }}
event-type: jackson-core-pushed
client-payload: '{"version": "${{ needs.resolve-tag.outputs.release-tag}}"}'

0 comments on commit fa62737

Please sign in to comment.