0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.github/workflows/repository-dispatch.yml
renovate[bot] 47d1515d8d
chore(deps): update peter-evans/repository-dispatch action to v3 (#5311)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 21:19:32 +08:00

24 lines
537 B
YAML

name: Repository Dispatch
on:
push:
branches:
- master
concurrency: ${{ github.workflow }}
jobs:
event_dispatch:
strategy:
matrix:
target: [logto-io/cloud]
runs-on: ubuntu-latest
steps:
- name: Dispatch Event
uses: peter-evans/repository-dispatch@v3
with:
token: ${{ secrets.BOT_PAT }}
repository: ${{ matrix.target }}
event-type: ${{ github.event_name }}
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'