Skip to content

Commit

Permalink
Fixes script to pull the correct sha
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 9a1caf7 commit 37df75b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/apply-issue-labels-to-pr.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
name: Apply issue labels to PR
name: Apply all issue labels to PR

on:
pull_request:
pull_request_target:
types: [opened, reopened, synchronize, converted_to_draft, edited]
check_suite:
types: [ requested, rerequested, completed ]

jobs:
mirror-labels-to-pr:
# if: github.repository == 'opensearch-project/OpenSearch'
# if: github.repository == 'opensearch-project/OpenSearch'
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Run label script
run: ../../.github-automation/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} $GITHUB_REPOSITORY $GITHUB_EVENT_PATH
run: pip install PyGithub && .github/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} $GITHUB_REPOSITORY $GITHUB_EVENT_PATH

0 comments on commit 37df75b

Please sign in to comment.