110466d172
The starter labeler action tries to run on the forked repository instead of the origin repository - which errors due to lack of permissions (good). See https://github.com/actions/labeler/issues/12 Switched to periodic-labeler as it runs on origin as intended.
14 lines
341 B
YAML
14 lines
341 B
YAML
name: Pull Request Labeler
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
jobs:
|
|
labeler:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: paulfantom/periodic-labeler@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
GITHUB_REPOSITORY: ${{ github.repository }}
|
|
LABEL_MAPPINGS_FILE: .github/labeler.yml
|