summaryrefslogtreecommitdiff
path: root/.github/workflows/pr_labeler.yml
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2021-11-10 10:08:52 +0100
committerGitHub <noreply@github.com>2021-11-10 10:08:52 +0100
commitacf6aab24793b6628622db93b064751994e31881 (patch)
tree19d24d21e3c3fbbd15dd94bc913bcb7c5edf6a46 /.github/workflows/pr_labeler.yml
parent7a5ec7807ac1ca6b1f8045278abe80301894ad21 (diff)
fix(CI): trigger builds on C++ changes (#9103)
Diffstat (limited to '.github/workflows/pr_labeler.yml')
-rw-r--r--.github/workflows/pr_labeler.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml
new file mode 100644
index 0000000000..7cffffe6bd
--- /dev/null
+++ b/.github/workflows/pr_labeler.yml
@@ -0,0 +1,17 @@
+name: Pull Request Labeler
+on:
+ - pull_request_target
+
+jobs:
+ triage:
+ runs-on: ubuntu-20.04
+ steps:
+ # This delay is necessary to correctly trigger builds on label application
+ - name: Sleep for 30 seconds
+ run: sleep 30s
+ shell: bash
+ - uses: actions/labeler@v3
+ with:
+ repo-token: ${{ secrets.AC_GITHUB_TOKEN }}
+ configuration-path: .github/labeler.yml
+ sync-labels: true