Adapt features from legacy packaging scripts to the current ones #1446
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: Copy labels from linked issues | |
on: | |
pull_request_target: | |
types: [opened, edited, review_requested, synchronize, reopened, ready_for_review] | |
jobs: | |
copy-issue-labels: | |
if: github.repository == 'opensearch-project/OpenSearch' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: read | |
contents: read | |
pull-requests: write | |
steps: | |
- name: copy-issue-labels | |
uses: michalvankodev/[email protected] | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
labels-to-exclude: | | |
untriaged | |
triaged |