Skip to content

Commit

Permalink
ci: Fixed fetch-depth option for syncing labels
Browse files Browse the repository at this point in the history
Now the workflow for the `Sync Labels` is corectly configured.

For faster performance, we configured the fetch-depth option and
set the depth to 1. This allows for faster pulling of the repository,
resulting in improved performance.
  • Loading branch information
mdsanima committed Jan 6, 2024
1 parent a01d05b commit 2d18d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# This file is used to declaratively define the GitHub repository default labels.
# Documentation: https://github.com/Financial-Times/github-label-sync/#label-config-file

# Generic
# Generic labels
- name: bug
color: B60205
description: Something isn't working
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 1
- name: Syncing labels
uses: crazy-max/ghaction-github-labeler@v5
with:
Expand Down

0 comments on commit 2d18d09

Please sign in to comment.