1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-08 22:46:33 +02:00

Added an automatic PR labeler (#2286)

* Added an automatic PR labeler

* Update .github/workflows/labeler.yaml

Co-authored-by: Jan Larwig <jan@larwig.com>

---------

Co-authored-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Koen van Zuijlen
2023-10-25 12:37:32 +02:00
committed by GitHub
parent 48247d3e79
commit 7f6109f469
2 changed files with 28 additions and 0 deletions

14
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,14 @@
go:
- changed-files: '**/*.go'
docs:
- changed-files: 'docs/**/*'
changelog:
- changed-files: 'CHANGELOG.md'
tests:
- changed-files: '**/*_test.go'
provider:
- changed-files: 'providers/**/*'

14
.github/workflows/labeler.yaml vendored Normal file
View File

@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
pull_request_target:
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
sync-labels: true