mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00
Enable github labeler, use for api-change
Belated followup to #11829: use github labeler workflow[1] to auto-add 'kind/api-change' label to PRs in which files are touched under pkg/api [1] https://github.com/actions/labeler Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
4
.github/labeler.yml
vendored
Normal file
4
.github/labeler.yml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Add labels based on file paths in PR
|
||||
# https://github.com/actions/labeler
|
||||
kind/api-change:
|
||||
- pkg/api/**/*
|
15
.github/workflows/labeler.yml
vendored
Normal file
15
.github/workflows/labeler.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
# https://github.com/actions/labeler
|
||||
name: "Pull Request Labeler"
|
||||
on:
|
||||
- pull_request_target
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
Reference in New Issue
Block a user