[WIP] Adds automation script to add issue labels to PR #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Apply all issue labels to PR | |
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/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} |