2020-05-03 14:48:38 -04:00
|
|
|
name: labels
|
|
|
|
|
2023-05-06 17:46:50 -04:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2020-05-03 14:48:38 -04:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
paths:
|
|
|
|
- '.github/labels.yml'
|
|
|
|
- '.github/workflows/labels.yml'
|
2023-09-03 08:39:10 -04:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- '.github/labels.yml'
|
|
|
|
- '.github/workflows/labels.yml'
|
2020-05-03 14:48:38 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
labeler:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
-
|
|
|
|
name: Checkout
|
2023-09-05 01:14:02 -04:00
|
|
|
uses: actions/checkout@v4
|
2020-05-03 14:48:38 -04:00
|
|
|
-
|
|
|
|
name: Run Labeler
|
2022-05-26 17:31:54 -04:00
|
|
|
uses: crazy-max/ghaction-github-labeler@v4
|
2023-09-03 08:39:10 -04:00
|
|
|
with:
|
|
|
|
dry-run: ${{ github.event_name == 'pull_request' }}
|