Skip to content

Commit

Permalink
try new label workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-runkle committed May 1, 2024
1 parent 25211ba commit 8d0981a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Add 'relnotes-fix' label by default
relnotes-fix:
- changed-files:
- any-glob-to-any-file: '**'

# Add 'relnotes-feature' label to any PR where the head branch name starts with
# `feature` or has a `feature` section in the name
relnotes-feature:
- head-branch: ['^feature', 'feature']
12 changes: 12 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
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

0 comments on commit 8d0981a

Please sign in to comment.