25 строки
569 B
YAML
25 строки
569 B
YAML
name: Notify release branch change
|
|
|
|
on:
|
|
# trigger for main and release branches.
|
|
push:
|
|
branches:
|
|
- main
|
|
- release/*
|
|
|
|
jobs:
|
|
pingRemote:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
|
|
- name: 'Ping remote repository'
|
|
uses: peter-evans/repository-dispatch@v1
|
|
with:
|
|
token: ${{ secrets.SERVICEACCOUNT_PAT }}
|
|
event-type: ping-mirror
|
|
repository: ${{ secrets.ORG }}/${{ secrets.REPO }}
|
|
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
|
|