ghaction-github-pages/.github/workflows/labels.yml

31 lines
601 B
YAML
Raw Permalink Normal View History

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
uses: actions/checkout@v4
2019-10-23 06:15:45 +08:00
-
name: Run Labeler
uses: crazy-max/ghaction-github-labeler@v5
2023-09-01 13:20:03 +08:00
with:
dry-run: ${{ github.event_name == 'pull_request' }}