diff --git a/.github/actionlint.yaml b/.github/actionlint.yml similarity index 100% rename from .github/actionlint.yaml rename to .github/actionlint.yml diff --git a/.github/workflows/create-patch-release-branch.yaml b/.github/workflows/create-patch-release-branch.yml similarity index 92% rename from .github/workflows/create-patch-release-branch.yaml rename to .github/workflows/create-patch-release-branch.yml index 780136e4ceb..557328ed537 100644 --- a/.github/workflows/create-patch-release-branch.yaml +++ b/.github/workflows/create-patch-release-branch.yml @@ -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: |