summaryrefslogtreecommitdiffstats
path: root/.github/workflows/label_pr.yml
diff options
context:
space:
mode:
authorShane McDonald <me@shanemcd.com>2022-02-03 02:17:45 +0100
committerShane McDonald <me@shanemcd.com>2022-02-03 15:45:00 +0100
commit8e6cdde861833043d6733548c1b118582dfae303 (patch)
tree45ff1cf7cf866f6f5539e3c48d3aea211349bc84 /.github/workflows/label_pr.yml
parentMerge pull request #11673 from ansible/fix_dockerfile_kube_dev_deps (diff)
downloadawx-8e6cdde861833043d6733548c1b118582dfae303.tar.xz
awx-8e6cdde861833043d6733548c1b118582dfae303.zip
Automate labels
Diffstat (limited to '.github/workflows/label_pr.yml')
-rw-r--r--.github/workflows/label_pr.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/label_pr.yml b/.github/workflows/label_pr.yml
new file mode 100644
index 0000000000..5f9e25107f
--- /dev/null
+++ b/.github/workflows/label_pr.yml
@@ -0,0 +1,20 @@
+name: Label PR
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ - reopened
+ - synchronize
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ name: Label PR
+
+ steps:
+ - name: Label PR
+ uses: actions/labeler@v3
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ configuration-path: .github/pr_labeler.yml