From 98b03e8af3cdc19b08e6651feb8065395cd7b4da Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Mon, 24 Apr 2023 01:12:36 +0300 Subject: [PATCH] Update sync-labels-to-own-projects.yml, prune old --- .github/workflows/sync-labels-to-own-projects.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-labels-to-own-projects.yml b/.github/workflows/sync-labels-to-own-projects.yml index 140274d..77e31b1 100644 --- a/.github/workflows/sync-labels-to-own-projects.yml +++ b/.github/workflows/sync-labels-to-own-projects.yml @@ -8,6 +8,7 @@ on: paths: - .github/labels.yml - .github/workflows/sync-labels-to-own-projects.yml + workflow_dispatch: jobs: sync-labels: @@ -26,7 +27,7 @@ jobs: gh repo list ivuorinen \ --no-archived \ --source \ - --limit 15 \ + --limit 25 \ --json nameWithOwner -q '.[] | .nameWithOwner' \ | sed 's|\"||' )" @@ -38,6 +39,6 @@ jobs: - uses: micnncim/action-label-syncer@v1 with: - prune: false + prune: true repository: ${{ steps.repos.outputs.REPOS }} token: ${{ secrets.PERSONAL_TOKEN }}