mirror of
https://github.com/ivuorinen/.github.git
synced 2026-01-26 11:23:57 +00:00
Update sync-labels-to-own-projects.yml, prune old
This commit is contained in:
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user