ci: Standardize yaml file extensions (#23332)

This commit is contained in:
Artem Sorokin 2025-12-17 11:28:59 +01:00 committed by GitHub
parent ffbf66e719
commit f47ce9421e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -47,18 +47,18 @@ jobs:
git config user.email "github-actions[bot]@users.noreply.github.com"
git switch "n8n@${{ inputs.old_version }}" --detach
BRANCH="patch/${{ inputs.new_version }}"
git checkout -b $BRANCH
git checkout -b "$BRANCH"
IFS=',' read -ra SHAS <<< "${{ inputs.commit_shas }}"
for sha in "${SHAS[@]}"; do
sha=$(echo $sha | xargs)
if ! git merge-base --is-ancestor $sha HEAD; then
sha=$(echo "$sha" | xargs)
if ! git merge-base --is-ancestor "$sha" HEAD; then
echo "Cherry-picking commit $sha"
git cherry-pick $sha
git cherry-pick "$sha"
else
echo "Commit $sha is already in the branch, skipping"
fi
done
git push -f origin $BRANCH
git push -f origin "$BRANCH"
- name: Notify if cherry-pick is successful
if: ${{ success() }}
run: |