Skip to content

Commit e2c6579

Browse files
committed
style(ci): fix YAML formatting in pre-commit hooks workflow
Remove trailing whitespace from lines 134 and 338. Fix double blank line spacing between sections. Ensure compliance with .editorconfig rules. Maintain proper indentation and line endings. This resolves the CI formatting violations that were preventing the workflow from passing YAML lint checks.
1 parent 12a2a92 commit e2c6579

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/update-pre-commit-hooks.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
# Create unique branch name with timestamp to avoid conflicts
132132
TIMESTAMP=$(date -u +%Y%m%d-%H%M)
133133
UNIQUE_BRANCH_NAME="${BRANCH_NAME}-${TIMESTAMP}"
134-
134+
135135
# Set as environment variables for all subsequent steps
136136
echo "BRANCH_NAME=$UNIQUE_BRANCH_NAME" >> $GITHUB_ENV
137137
echo "BASE_BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV
@@ -335,7 +335,7 @@ jobs:
335335
echo "🆕 Using unique branch: ${{ env.BRANCH_NAME }}"
336336
echo "branch_exists=false" >> $GITHUB_OUTPUT
337337
echo "pr_exists=false" >> $GITHUB_OUTPUT
338-
338+
339339
# Check if there are other open PRs for pre-commit updates (for info only)
340340
existing_prs=$(gh pr list --head "${{ env.BASE_BRANCH_NAME }}*" --json number,title,headRefName --jq '.[] | select(.headRefName | startswith("${{ env.BASE_BRANCH_NAME }}")) | .number' || echo "")
341341
if [ -n "$existing_prs" ]; then
@@ -513,7 +513,6 @@ jobs:
513513
env:
514514
GH_TOKEN: ${{ secrets.GH_PAT_TOKEN || secrets.GITHUB_TOKEN }}
515515

516-
517516
# ----------------------------------------------------------------------------------
518517
# Generate Workflow Summary Report
519518
# ----------------------------------------------------------------------------------

0 commit comments

Comments
 (0)