Skip to content

Commit

Permalink
Add GitHub action to label proposal PRs (#340)
Browse files Browse the repository at this point in the history
This adds `needs-triage` to any PR that changes the proposals folder,
which will cause it to appear on our triage board.
  • Loading branch information
llvm-beanz authored Oct 18, 2024
1 parent 40912b0 commit 1571507
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/pr-labels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
needs-triage:
- proposals/**/*
14 changes: 14 additions & 0 deletions .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
configuration-path: .github/prs-labels.yml

0 comments on commit 1571507

Please sign in to comment.