Skip to content

ci: fix invalid workflow syntax - #47

Merged
danielroe merged 2 commits into
nuxt:mainfrom
luc122c:fix/invalid-workflow-syntax
Jul 14, 2026
Merged

ci: fix invalid workflow syntax#47
danielroe merged 2 commits into
nuxt:mainfrom
luc122c:fix/invalid-workflow-syntax

Conversation

@luc122c

@luc122c luc122c commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

🔗 Linked issue

📚 Description

I introduced a bug in #42 🫣. The if keyword cannot be used in the same block as the parallel keyword (docs). This bug makes the entire workflow invalid and therefore it never runs.

This fix applies the if condition to both of the steps, which will have the desired effect.

@coderabbitai

coderabbitai Bot commented Jul 14, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7cdc1bfc-2815-4b90-8a48-45808ffc546a

📥 Commits

Reviewing files that changed from the base of the PR and between 11bd7ac and a94b18e.

📒 Files selected for processing (1)
  • .github/workflows/triage-comment.yml

📝 Walkthrough

Walkthrough

The triage-comment workflow now runs the actions/checkout step through a parallel grouping and guards it for non-collaborator commenters. The same collaborator check is positioned immediately before the Node setup step. AI analysis, labeling, reopening behavior, and job outputs remain unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise, conventional, and accurately describes the workflow syntax fix.
Description check ✅ Passed The description follows the template and clearly explains the bug, cause, and fix.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@danielroe
danielroe merged commit 8a675b0 into nuxt:main Jul 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants