Skip to content

Conversation

@mobilemind
Copy link
Owner

chore: update linter, cleanup Copilot AI slop

@mobilemind mobilemind self-assigned this Dec 24, 2025
Copilot AI review requested due to automatic review settings December 24, 2025 06:34
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates GitHub Actions dependencies and adds a CI summary job, though it ironically introduces formatting inconsistencies that contradict the "cleanup" goal stated in the title.

  • Updates actions/cache from v4 to v5 in the linter workflow
  • Adds a ci-success summary job to ensure all matrix tests pass before considering CI complete
  • Introduces extra spaces in YAML field separators in multiple locations

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
.github/workflows/linter.yml Updates actions/cache from v4 to v5
.github/workflows/ci.yml Adds ci-success summary job and introduces spacing inconsistencies in YAML formatting across multiple fields

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

}
- name: "Run Tests"
- name: "Run Tests"
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space added after the colon in the 'name:' field. This introduces inconsistent YAML formatting compared to the rest of the workflow file. Remove the extra space to maintain consistent formatting.

Suggested change
- name: "Run Tests"
- name: "Run Tests"

Copilot uses AI. Check for mistakes.
steps:
- name: Check build matrix success
if: needs.build.result != 'success'
run: exit 1
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space added after the colon in the 'run:' field. This introduces inconsistent YAML formatting compared to the rest of the workflow file. Remove the extra space to maintain consistent formatting.

Suggested change
run: exit 1
run: exit 1

Copilot uses AI. Check for mistakes.

- name: "Use Node.js ${{ matrix.node-version }}"
uses: actions/setup-node@v6
uses: actions/setup-node@v6
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space added after the colon in the 'uses:' field. This introduces inconsistent YAML formatting compared to the rest of the workflow file. Remove the extra space to maintain consistent formatting.

Suggested change
uses: actions/setup-node@v6
uses: actions/setup-node@v6

Copilot uses AI. Check for mistakes.
# which are user's responsibility, not ours
npm audit --omit=dev --audit-level=moderate || {
echo "⚠️ Vulnerabilities found in peerDependencies (expected: grunt's js-yaml)"
echo "⚠️ Vulnerabilities found in peerDependencies (expected: grunt's js-yaml)"
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra space added after the colon in the echo message. While this doesn't break functionality, it introduces inconsistent spacing in the error message. Remove the extra space to maintain consistent formatting.

Suggested change
echo "⚠️ Vulnerabilities found in peerDependencies (expected: grunt's js-yaml)"
echo "⚠️ Vulnerabilities found in peerDependencies (expected: grunt's js-yaml)"

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings December 24, 2025 07:13
@mobilemind mobilemind merged commit e61c3bf into main Dec 24, 2025
14 checks passed
@mobilemind mobilemind deleted the chore/update-linter branch December 24, 2025 07:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- name: Check build matrix success
if: needs.build.result != 'success'
run: exit 1
- name: Success
Copy link

Copilot AI Dec 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Success" step should have a condition to only run when the build job succeeds. Currently, without a condition, this step will be attempted regardless of whether the previous step failed. Add if: needs.build.result == 'success' to ensure this step only runs when all matrix jobs pass.

Suggested change
- name: Success
- name: Success
if: needs.build.result == 'success'

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants