Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GHA: add copy-labels, cleanup PR template #20

Merged
merged 1 commit into from
Jan 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,19 +1 @@
## Description

<!--
Add a detailed description for the changes made in this pull request

If your PR addresses an existing issue, add it here.
Use the template string - `This pull request resolves #<issue-number>`
-->

## Type of Change

<!-- Mark with an `x` all the checkboxes that apply (like `[x]`) -->

- [ ] 📚 Documentation (Non-breaking change; Changes in the documentation)
- [ ] 🔧 Bug fix (Non-breaking change; Fixes an existing bug)
- [ ] 🥂 Improvement (Non-breaking change; Improves existing feature)
- [ ] 🚀 New feature (Non-breaking change; Adds functionality)
- [ ] 🔐 Security fix (Non-breaking change; Patches a security issue)
- [ ] 💥 Breaking change (Breaks existing functionality)
### Description
20 changes: 20 additions & 0 deletions .github/workflows/copy-issue-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Copy issue labels to PR
on:
workflow_dispatch:
pull_request:
types: [opened]
# Note: this may be obsolete when it is included here: https://github.com/microsoft/vscode-pull-request-github/issues/1186
jobs:
copy-labels:
runs-on: ubuntu-latest
name: Copy labels from linked issues
permissions:
contents: write
issues: write
pull-requests: write

steps:
- name: copy-labels
uses: michalvankodev/copy-issue-labels@v1.3.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}