2019-10-23 06:15:45 +08:00
|
|
|
name: labels
|
|
|
|
|
2023-05-07 05:11:07 +08:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2019-10-23 06:15:45 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2023-09-01 13:27:23 +08:00
|
|
|
- 'dev'
|
2023-09-01 13:20:03 +08:00
|
|
|
paths:
|
|
|
|
- '.github/labels.yml'
|
|
|
|
- '.github/workflows/labels.yml'
|
|
|
|
pull_request:
|
2019-10-23 06:15:45 +08:00
|
|
|
paths:
|
|
|
|
- '.github/labels.yml'
|
|
|
|
- '.github/workflows/labels.yml'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
labeler:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2022-03-02 14:28:47 +08:00
|
|
|
uses: actions/checkout@v3
|
2019-10-23 06:15:45 +08:00
|
|
|
-
|
|
|
|
name: Run Labeler
|
2022-05-27 05:28:32 +08:00
|
|
|
uses: crazy-max/ghaction-github-labeler@v4
|
2023-09-01 13:20:03 +08:00
|
|
|
with:
|
|
|
|
dry-run: ${{ github.event_name == 'pull_request' }}
|