chore: sync workflows #118
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Base PullRequest
default branch (https://github.com/technote-space/gh-actions-template/tree/master)
Command results
Details:
rm -rdf .github/workflows/.tmp
mkdir -p .github/workflows/.tmp
cp -f .github/workflows/sync-workflows.yml .github/workflows/.tmp/ > /dev/null 2>&1 || :
rm -f .github/workflows/*.yml
git clone --depth=1 https://github.com/technote-space/github-actions-workflows.git .github/workflows/.tmp/workflows
stderr:
Cloning into '.github/workflows/.tmp/workflows'...
cp .github/workflows/.tmp/workflows/gh-actions/*.yml .github/workflows/
cp -f .github/workflows/.tmp/sync-workflows.yml .github/workflows/sync-workflows.yml > /dev/null 2>&1 || :
find .github/workflows -maxdepth 1 -type f -name '*.yml' -print0 | xargs -0 readlink -f | while read -r file; do sed -i 's/uses: \(technote-space\/gh-actions-template\)@.\+$/uses: \1@gh-actions/' $file; done
rm -rdf .github/workflows/.tmp
Changed files
Changed 4 files: