Skip to content

Commit

Permalink
update PR labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
nstarman committed Feb 7, 2024
1 parent 8a025f5 commit 6e9a594
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 32 deletions.
22 changes: 14 additions & 8 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
# Infrastructure Labels
Infrastructure:
- .github/**/*
- .pre-commit-config.yaml
- .readthedocs.yml
- .gitignore
- pyproject.toml
- setup.cfg
- changed-files:
- any-glob-to-any-file:
- .github/**/*
- .pre-commit-config.yaml
- .readthedocs.yml
- .gitignore
- pyproject.toml
- setup.cfg

GitHub:
- .github/**/*
- changed-files:
- any-glob-to-any-file:
- .github/**/*

# Docs Labels
Docs:
- docs/**/*
- changed-files:
- any-glob-to-any-file:
- docs/**/*
24 changes: 0 additions & 24 deletions .github/workflows/label_pr.yml

This file was deleted.

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 6e9a594

Please sign in to comment.