Update autoSyncMergedPullRequest workflow flags
This commit is contained in:
parent
6b369d4ab9
commit
d2e6b094f6
|
|
@ -5,14 +5,16 @@ on:
|
||||||
- closed
|
- closed
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
autoSyncMergedPullRequest:
|
||||||
if: github.event.pull_request.merged == true
|
if: github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Show PR info
|
- name: Show PR info
|
||||||
env:
|
env:
|
||||||
GITHUB_CONTEXT: ${{ toJSON(github) }}
|
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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue