Skip to content

Commit

Permalink
ci: Added fetch-depth option and fixed paths for Sync Labels
Browse files Browse the repository at this point in the history
  • Loading branch information
mdsanima committed Jan 6, 2024
1 parent d6d3d20 commit f7fec60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/sync-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ on:
- cron: "0 0 1 * *"
workflow_dispatch:
push:
branches:
- main
paths:
- ".github/labels.yaml"
branches: main
paths: ./.github/labels.yaml

jobs:
sync-labels:
Expand All @@ -25,6 +23,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Syncing labels
uses: crazy-max/ghaction-github-labeler@v5
with:
Expand Down

0 comments on commit f7fec60

Please sign in to comment.