Apollo-11/.github/workflows/label.yml
James Harris 110466d172
fix: use periodic-labeler instead of labeler
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.
2020-01-08 21:20:09 +00:00

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