2020-08-15 20:47:25 +08:00
|
|
|
name: labels
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2020-08-15 20:49:47 +08:00
|
|
|
- 'master'
|
2020-08-15 20:47:25 +08:00
|
|
|
paths:
|
|
|
|
- '.github/labels.yml'
|
|
|
|
- '.github/workflows/labels.yml'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
labeler:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
|
|
|
uses: actions/checkout@v2.3.1
|
|
|
|
-
|
|
|
|
name: Run Labeler
|
|
|
|
if: success()
|
|
|
|
uses: crazy-max/ghaction-github-labeler@v2.1.0
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|