diff options
author | Ed Santiago <santiago@redhat.com> | 2022-09-13 07:33:13 -0600 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2022-09-13 07:36:45 -0600 |
commit | 885bc4742d3de42614d0bea1a242187516473637 (patch) | |
tree | bc518457ff8edf80b3a7c3bf29397a3efe0ab176 /.github | |
parent | 51b5d30b10810e88baaff78c22b9747395e705b5 (diff) | |
download | podman-885bc4742d3de42614d0bea1a242187516473637.tar.gz podman-885bc4742d3de42614d0bea1a242187516473637.tar.bz2 podman-885bc4742d3de42614d0bea1a242187516473637.zip |
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>
Diffstat (limited to '.github')
-rw-r--r-- | .github/labeler.yml | 4 | ||||
-rw-r--r-- | .github/workflows/labeler.yml | 15 |
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 }}" |