Skip to content

Label maintenance

Label maintenance #834

name: 'Label maintenance'
on:
schedule:
- cron: '0 19 * * *' # 4:00 UTC+0900
jobs:
label_maintenance:
name: Label maintenance
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Get @azu/github-label-setup
run: yarn global add @azu/github-label-setup
- name: Run github-label-setup
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
`yarn global bin`/github-label-setup --token ${GITHUB_TOKEN} --labels ${GITHUB_WORKSPACE}/.github/labels.json