Update autoSyncMergedPullRequest.yml
This commit is contained in:
parent
cb0eb67df0
commit
ee9d3a33fa
|
|
@ -11,14 +11,14 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: Show PR info
|
- name: Show PR info
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
echo The PR #${{ github.event.pull_request.number }} was merged on main branch!
|
echo The PR #${{ github.event.pull_request.number }} was merged on main branch!
|
||||||
- name: Repository Dispatch
|
- name: Repository Dispatch
|
||||||
uses: peter-evans/repository-dispatch@v2
|
uses: peter-evans/repository-dispatch@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.AUTOSYNC_TOKEN }}
|
token: ${{ secrets.AUTOSYNC_TOKEN }}
|
||||||
repository: ${{ secrets.AUTOSYNC_CH_URL }}
|
repository: ${{ secrets.AUTOSYNC_CH_URL }}
|
||||||
|
|
@ -28,6 +28,6 @@ jobs:
|
||||||
"ref": "${{ github.ref }}",
|
"ref": "${{ github.ref }}",
|
||||||
"prNumber": "${{ github.event.pull_request.number }}",
|
"prNumber": "${{ github.event.pull_request.number }}",
|
||||||
"prTitle": "${{ github.event.pull_request.title }}",
|
"prTitle": "${{ github.event.pull_request.title }}",
|
||||||
"prDescription": "${{ toJSON(github.event.pull_request.body) }}",
|
"prDescription": "",
|
||||||
"sha": "${{ github.sha }}"
|
"sha": "${{ github.sha }}"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue