mirror of
https://github.com/ivuorinen/.github.git
synced 2026-02-13 08:47:07 +00:00
Update sync-labels-to-own-projects.yml
This commit is contained in:
@@ -7,6 +7,7 @@ on:
|
|||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- .github/labels.yml
|
- .github/labels.yml
|
||||||
|
- .github/workflows/sync-labels-to-own-projects.yml
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync-labels:
|
sync-labels:
|
||||||
@@ -14,7 +15,7 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
repos: ${{ steps.repos.outputs.REPOS }}
|
repos: ${{ steps.repos.outputs.REPOS }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Get Repositories
|
- name: Get Repositories
|
||||||
id: repos
|
id: repos
|
||||||
@@ -30,10 +31,13 @@ jobs:
|
|||||||
| sed 's|\"||'
|
| sed 's|\"||'
|
||||||
)"
|
)"
|
||||||
|
|
||||||
echo "REPOS='$REPOS'" >> $GITHUB_ENV
|
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64)
|
||||||
|
echo "REPOS<<$EOF" >> "$GITHUB_ENV"
|
||||||
|
echo $REPOS >> "$GITHUB_ENV"
|
||||||
|
echo "$EOF" >> "$GITHUB_ENV"
|
||||||
|
|
||||||
- uses: micnncim/action-label-syncer@v1
|
- uses: micnncim/action-label-syncer@v1
|
||||||
with:
|
with:
|
||||||
prune: false
|
prune: false
|
||||||
repository: ${{ needs.sync-labels.outputs.repos }}
|
repository: ${{ steps.repos.outputs.REPOS }}
|
||||||
token: ${{ secrets.PERSONAL_TOKEN }}
|
token: ${{ secrets.PERSONAL_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user