@cryptotaxi247 / netdata-1 / commits / 652de65bd

Update PR labeling to not depend on fork owner access. (#7699)

This updates the PR labeling via GHA to not depend on the access level of the owner of the PR relative to the repository, which should finally make it work correctly.

Austin S. Hemmelgarn committed Jan 9, 2020 at 09:04 UTC 652de65bdcd7c327882270ffb40fdf1d0276a17a
1 file changed +7 -9
.github/workflows/labeler.yml
+7 -9
@@ -2,16 +2,14 @@
2 # Handles labelling of PR's.
3 name: Pull Request Labeler
4 on:
5 - pull_request:
6 - types:
7 - - opened
8 - - synchronized
9 - - reopened
10 - - ready_for_review
5 + schedule:
6 + - cron: '*/5 * * * *'
7 jobs:
8 labeler:
9 runs-on: ubuntu-latest
10 steps:
15 - - uses: actions/labeler@v2
16 - with:
17 - repo-token: "${{ secrets.NETDATABOT_TOKEN }}"
11 + - uses: paulfantom/periodic-labeler@master
12 + env:
13 + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14 + GITHUB_REPOSITORY: ${{ github.repository }}
15 + LABEL_MAPPINGS_FILE: .github/labeler.yml