diff --git a/.github/workflows/label-sync.yaml b/.github/workflows/label-sync.yaml index 3416a8b5e..cb55257f8 100644 --- a/.github/workflows/label-sync.yaml +++ b/.github/workflows/label-sync.yaml @@ -6,6 +6,8 @@ on: push: branches: ["master"] paths: [".github/labels.yaml"] + schedule: + - cron: "0 0 * * *" # Every day at midnight jobs: labels: @@ -22,6 +24,7 @@ jobs: - name: Checkout uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 with: + sparse-checkout: .github/labels.yaml token: "${{ steps.app-token.outputs.token }}" - name: Sync Labels