Merge pull request #620 from gtardif/ci_labeller

Allow running action labeller on PR from forks, using pull_request-target
This commit is contained in:
Guillaume Tardif 2020-09-15 12:29:05 +02:00 committed by GitHub
commit 6cb19ed26d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,11 @@
name: "Pull Request Labeler"
on: [pull_request]
name: 'Pull Request Labeler'
on:
- pull_request_target
jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
- uses: actions/labeler@v2.1.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: '${{ secrets.GITHUB_TOKEN }}'