aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-13 16:37:54 +0200
committerGitHub <noreply@github.com>2022-09-13 16:37:54 +0200
commit7e03a497d1f46a36129020fe39de04e8cb5af448 (patch)
treeb41d54828575351b07211886973dbeed67d14ecf
parent07c0dd1f24b112c0161f61cafdfc1ab0866ebb9e (diff)
parent885bc4742d3de42614d0bea1a242187516473637 (diff)
downloadpodman-7e03a497d1f46a36129020fe39de04e8cb5af448.tar.gz
podman-7e03a497d1f46a36129020fe39de04e8cb5af448.tar.bz2
podman-7e03a497d1f46a36129020fe39de04e8cb5af448.zip
Merge pull request #15772 from edsantiago/autolabel_api_change
[CI:BUILD] Enable github labeler, use for api-change
-rw-r--r--.github/labeler.yml4
-rw-r--r--.github/workflows/labeler.yml15
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 000000000..4d00baca9
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,4 @@
+# Add labels based on file paths in PR
+# https://github.com/actions/labeler
+kind/api-change:
+ - pkg/api/**/*
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 000000000..64505bbfe
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -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 }}"