updated sync_to_adjacent_repos.sh

pull/2/head
Hari Sekhon 5 years ago
parent 0130813002
commit 1fd7904e00

@ -32,6 +32,9 @@ while read -r repo dir; do
fi
for filename in *.yaml; do
target="../../../$dir/.github/workflows/$filename"
if [ -f "$target.disabled" ]; then
target="$target.disabled"
fi
if [ -n "${ALL:-}" ] || grep -q '^[[:space:]]*container:' "$filename"; then
if [ -n "${NEW:-}" ] || [ -f "$target" ]; then
echo "syncing $filename -> $target"

Loading…
Cancel
Save