fix(CI): trigger builds on C++ changes (#9103)

This commit is contained in:
Francesco Borzì
2021-11-10 10:08:52 +01:00
committed by GitHub
parent 7a5ec7807a
commit acf6aab247
3 changed files with 22 additions and 15 deletions

View File

@@ -1,12 +0,0 @@
name: "Pull Request Labeler"
on: [pull_request_target]
jobs:
triage:
runs-on: ubuntu-20.04
steps:
- uses: actions/labeler@main
with:
repo-token: ${{ secrets.AC_GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
sync-labels: true

17
.github/workflows/pr_labeler.yml vendored Normal file
View File

@@ -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