Update autoSyncMergedPullRequest workflow flags

This commit is contained in:
Octavian FlowiseAI 2024-01-19 23:20:50 +01:00 committed by GitHub
parent 6b369d4ab9
commit d2e6b094f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

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