forked from Lightning-AI/torchmetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add missing labeler job (Lightning-AI#2038)
- Loading branch information
1 parent
da3f930
commit 5f0761a
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Pull Request Labeler" | ||
on: [pull_request_target] | ||
|
||
jobs: | ||
triage-prs: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Uploads repository content to the runner | ||
- uses: actions/checkout@v3 | ||
- uses: actions/labeler@v4 | ||
with: | ||
# The path to the label configuration file. | ||
configuration-path: .github/labeler.yml | ||
# Whether removing labels when matching files are reverted or no longer changed by the PR | ||
sync-labels: true |