summaryrefslogtreecommitdiffstats
path: root/.github/workflows/labeler.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/labeler.yml')
-rw-r--r--.github/workflows/labeler.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 7abbbeca34..3b99a8f43e 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -1,13 +1,14 @@
name: "Pull Request Labeler"
on:
- schedule:
- - cron: "*/10 * * * *"
+ pull_request_target:
+ types: [opened, synchronize, reopened, ready_for_review, locked]
jobs:
triage:
runs-on: ubuntu-latest
steps:
- - uses: fjeremic/cron-labeler@0.2.0
+ - uses: actions/labeler@main
with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"
+ configuration-path: '.github/labeler.yml'