Skip to content

Commit

Permalink
Merge pull request #4746 from cwisniew/copy-issue-label-to-pr
Browse files Browse the repository at this point in the history
Automatically copy relevant issue labels to Pull Requests
  • Loading branch information
cwisniew authored Apr 2, 2024
2 parents a46218c + bc57e45 commit c8c81a6
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/copy-label-to-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Copy Labels to PR
on:
pull_request:
types: [opened]

jobs:
copy-labels:
permissions:
contents: read
issues: read
pull-requests: write
runs-on: ubuntu-latest
name: Copy labels from linked issues
steps:
- name: copy-labels
uses: michalvankodev/[email protected]
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
labels-to-include: |
bug
build-configuration
breaking-change
code-maintenance
dependencies
feature
ignore-for-release-note
performance
refactor
repo-admin
translations

0 comments on commit c8c81a6

Please sign in to comment.