diff options
author | Joel Challis <git@zvecr.com> | 2020-10-20 14:01:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 14:01:53 +0100 |
commit | 4b2da8daf4da000ae09df083d4fd5da656cab504 (patch) | |
tree | 5b07799abc10d4e27459d980f87c91bceb48f7f6 /.github/workflows | |
parent | c3ce06c2e7f383c7239558bcebb1c5cbec0725cf (diff) |
Update PR labeler to use pull_request_target (#10695)
* Update labeler to use pull_request_target
* Add back whitespace
* Add CI label
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/labeler.yml | 9 |
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' |