Update sync-labels-to-own-projects.yml, prune old

This commit is contained in:
2023-04-24 01:12:36 +03:00
parent a98559c097
commit 98b03e8af3

View File

@@ -8,6 +8,7 @@ on:
paths: paths:
- .github/labels.yml - .github/labels.yml
- .github/workflows/sync-labels-to-own-projects.yml - .github/workflows/sync-labels-to-own-projects.yml
workflow_dispatch:
jobs: jobs:
sync-labels: sync-labels:
@@ -26,7 +27,7 @@ jobs:
gh repo list ivuorinen \ gh repo list ivuorinen \
--no-archived \ --no-archived \
--source \ --source \
--limit 15 \ --limit 25 \
--json nameWithOwner -q '.[] | .nameWithOwner' \ --json nameWithOwner -q '.[] | .nameWithOwner' \
| sed 's|\"||' | sed 's|\"||'
)" )"
@@ -38,6 +39,6 @@ jobs:
- uses: micnncim/action-label-syncer@v1 - uses: micnncim/action-label-syncer@v1
with: with:
prune: false prune: true
repository: ${{ steps.repos.outputs.REPOS }} repository: ${{ steps.repos.outputs.REPOS }}
token: ${{ secrets.PERSONAL_TOKEN }} token: ${{ secrets.PERSONAL_TOKEN }}