Update autoSyncMergedPullRequest.yml

This commit is contained in:
Octavian FlowiseAI 2024-05-10 22:01:05 +02:00 committed by GitHub
parent cb0eb67df0
commit ee9d3a33fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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 }}"
} }