Skip to content

Commit

Permalink
refactor: sync Github Labeler
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Oct 30, 2024
1 parent d14ae37 commit 9faeb87
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,15 @@ name: github_labeler
# Will only be run each push or PR merge to the main branch
"on":
push:
branches: [main]
paths: [.github/labels.yml, .github/workflows/labeler.yml]
branches:
- "main"
paths:
- ".github/labels.yml"
- ".github/workflows/labeler.yml"
pull_request:
paths:
- ".github/labels.yml"
- ".github/workflows/labeler.yml"
workflow_dispatch: null # For manual runs

jobs:
Expand All @@ -25,4 +32,4 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
yaml-file: .github/labels.yml
skip-delete: false
dry-run: false
dry-run: ${{ github.event_name == 'pull_request' }}

0 comments on commit 9faeb87

Please sign in to comment.