Skip to content

Commit

Permalink
Change workflow target
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Sep 7, 2023
1 parent 98d3f41 commit 67b11da
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/pr-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@ name: automation-pr
# Since pull requests from forks do not have repo write permission (for good
# reason), we need to run on the `check_suite` trigger. This requires a non-
# Github bot to be running on PRs to trigger the event.
#on:
# check_suite:
# types: [completed]
on:
check_suite:
types: [completed]
pull_request:
types:
- opened
- reopened
- synchronize
- converted_to_draft

jobs:
mirror-labels-to-pr:
# if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: mirror-labels-to-pr
run: .github-automation/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} $GITHUB_REPOSITORY $GITHUB_EVENT_PATH
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 67b11da

Please sign in to comment.