Allow running action labeller on PR from forks, using pull_request-target. Cf
-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 }}'
\ No newline at end of file
