ci(small): Fix YAML syntax error in PR squash workflow#9422
ci(small): Fix YAML syntax error in PR squash workflow#9422
Conversation
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
@pr-squash |
|
❌ Automatic squash and rebase failed. The branch has conflicts with |
|
@pr-squash |
|
❌ Automatic squash and rebase failed. The branch has conflicts with |
|
@pr-squash |
|
❌ Automatic squash and rebase failed. The branch has conflicts with |
87b9f6d to
d62f9f8
Compare
Refactored the `pr-squash.yml` workflow to use environment variables for passing dynamic values into `actions/github-script` blocks. This fixes a YAML syntax error on line 165 caused by unquoted expressions and follows the recommended best practice for robustness and security. Co-authored-by: arii <342438+arii@users.noreply.github.com> Revert "feat(large): Unify Persistent Footers for Mobile Optimization" (#9426) fix(ci): resolve workflow syntax errors and PR resolution issues - Refactored `pr-squash.yml`, `gemini-triage.yml`, and `reusable-gemini-review.yml` to use environment variables for passing dynamic GitHub Actions expressions into `github-script` blocks. - Converted tabs to spaces in `gemini-triage.yml` to fix YAML parsing errors. - Added fallback for `PR_NUMBER` resolution in `reusable-gemini-review.yml` to support `issue_comment` triggers on Pull Requests. - Standardized use of `process.env` and `Number()` in scripts for robustness and security. Co-authored-by: arii <342438+arii@users.noreply.github.com> fix(ci): resolve workflow syntax errors and improve script robustness - Fixed YAML syntax error in `pr-squash.yml` by using environment variables. - Fixed YAML syntax error and indentation in `gemini-triage.yml` (converted tabs to spaces). - Fixed PR number resolution in `reusable-gemini-review.yml` for comment triggers. - Refactored all `github-script` actions to use `env` variables instead of direct interpolation for better security and reliability. Co-authored-by: arii <342438+arii@users.noreply.github.com> chore(deps): bump actions/upload-artifact from 4 to 7 (#9428) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps-dev): bump @axe-core/playwright from 4.11.0 to 4.11.1 (#9437) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps-dev): bump lint-staged from 16.2.7 to 16.3.1 (#9436) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps-dev): bump jsdom from 27.4.0 to 28.1.0 (#9434) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump actions/download-artifact from 4 to 8 (#9427) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump @asteasolutions/zod-to-openapi from 8.4.0 to 8.4.2 (#9438) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump the mui group with 3 updates (#9429) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
d62f9f8 to
b08bf37
Compare
🤖 AI Technical Audit🛑 Critical Review: Scope Creep & Breaking ChangesThis PR is titled "Fix YAML syntax error" (implying a small, targeted fix) but effectively dismantles the entire ChatOps/Manual Trigger architecture for this repository. It deletes documentation, removes routing logic for Triage/Coder/Review-Issues, and modifies deployment logic. 🚨 Critical Issues
📂 File-by-File Analysis1.
|
Description
This PR fixes a syntax error in the
.github/workflows/pr-squash.ymlfile that prevented it from being parsed correctly by GitHub. The fix involves moving GitHub Actions expressions from direct interpolation in JavaScript strings into theenvblock, and then accessing them viaprocess.env. This pattern is more robust and prevents issues with special characters or invalid YAML structures.Fixes #9421
Change Type: 🐛 Bug fix (non-breaking change fixing an issue)
Related Issues
Closes #9421
Original PR Body
This PR fixes a syntax error in the
.github/workflows/pr-squash.ymlfile that prevented it from being parsed correctly by GitHub. The fix involves moving GitHub Actions expressions from direct interpolation in JavaScript strings into theenvblock, and then accessing them viaprocess.env. This pattern is more robust and prevents issues with special characters or invalid YAML structures.Fixes #9421
PR created automatically by Jules for task 14465911381527024223 started by @arii