Skip to content

Commit

Permalink
Uses a preexisting workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <dchanp@amazon.com>
  • Loading branch information
DarshitChanpura committed Sep 8, 2023
1 parent 378d7ff commit 80088d3
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/apply-issue-labels-to-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,22 @@ on:
pull_request:
pull_request_target:

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

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

- name: Run label script
run: pip install PyGithub && .github-automation/copy-issue-labels-to-pr.py ${{ secrets.GITHUB_TOKEN }} $GITHUB_REPOSITORY $GITHUB_EVENT_PATH
- name: copy-labels
uses: michalvankodev/copy-issue-labels@v1.2.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 80088d3

Please sign in to comment.