Skip to content

Commit

Permalink
Uses a different pre-existing 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 80088d3 commit 2c0795f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 78 deletions.
67 changes: 0 additions & 67 deletions .github-automation/copy-issue-labels-to-pr.py

This file was deleted.

16 changes: 5 additions & 11 deletions .github/workflows/apply-issue-labels-to-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,16 @@ 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:
copy-labels:
runs-on: ubuntu-latest
name: Copy labels from linked issues
steps:
- name: copy-labels
uses: michalvankodev/copy-issue-labels@v1.2.1
uses: DarshitChanpura/copy-issue-labels@v1.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels-to-exclude: |
untriaged
triaged

0 comments on commit 2c0795f

Please sign in to comment.