Update PR labeler to use pull_request_target (#10695)
* Update labeler to use pull_request_target * Add back whitespace * Add CI label
This commit is contained in:
parent
c3ce06c2e7
commit
4b2da8daf4
2 changed files with 18 additions and 4 deletions
9
.github/workflows/labeler.yml
vendored
9
.github/workflows/labeler.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue