This commit is contained in:
2026-02-12 11:22:51 +03:00
parent 7c2d731399
commit f2785241bf
6 changed files with 16 additions and 16 deletions

View File

@@ -4,7 +4,7 @@
# Customize:
# - paths: list all target subfolders
# - branches: list all monorepo branches to trigger on
# - org/josh-sync@v1: pin to your library repo and version
# - uses: https://your-gitea.example.com/org/josh-sync@v1 pin to your library repo and version
name: "Josh Sync → Subrepo"
@@ -59,10 +59,10 @@ jobs:
| jq -r '.[] | "\(.name):\(.subfolder)"' \
| while IFS=: read -r name prefix; do
echo "$CHANGED" | grep -q "^${prefix}/" && echo "$name"
done | sort -u | tr '\n' ' ')
done | sort -u | paste -sd ',' -)
echo "targets=${TARGETS}" >> "$GITHUB_OUTPUT"
- uses: org/josh-sync@v1
- uses: https://your-gitea.example.com/org/josh-sync@v1
with:
direction: forward
target: ${{ github.event.inputs.target || steps.detect.outputs.targets }}