Skip to content

Commit

Permalink
chore: add auto-label for v2 PRs (#4505)
Browse files Browse the repository at this point in the history
Quickwin: Label all PR open against with v2 with the v2 label so that we
can identify quickly what's in v2, what ain't
https://coveord.atlassian.net/browse/KIT-3639
  • Loading branch information
louis-bompart authored Oct 16, 2024
1 parent f44de0f commit 2e1ffe8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
v2:
- base-branch: 'v2'
14 changes: 14 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Labeler
on: [pull_request_target]

jobs:
label:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit 2e1ffe8

Please sign in to comment.