Fix Dependabot CI: correct actor check from dependabot to dependabot[bot]#940
Merged
decyjphr merged 3 commits intomain-enterprisefrom Mar 2, 2026
Merged
Conversation
Co-authored-by: decyjphr <57544838+decyjphr@users.noreply.github.com>
The `if` condition used `'dependabot'` but Dependabot's actual GitHub actor username is `'dependabot[bot]'`. This caused the test job to run for Dependabot PRs when it should be skipped, resulting in npm install failures due to ESLint 10 peer dependency conflicts. Co-authored-by: decyjphr <57544838+decyjphr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions workflow test
Fix Dependabot CI: correct actor check from Mar 2, 2026
dependabot to dependabot[bot]
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Actions Node.js CI workflow so the test job correctly skips Dependabot-authored pull requests, aligning the actor check with GitHub’s actual Dependabot actor value.
Changes:
- Fix
node-ci.ymljob-levelifcondition to checkgithub.actor != 'dependabot[bot]'. - Update the root Node engine requirement recorded in
package-lock.jsonto>= 22.0.0.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/node-ci.yml |
Corrects the Dependabot actor string so CI job skipping works as intended. |
package-lock.json |
Syncs the lockfile’s root engines.node value to >= 22.0.0. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
node-ci.ymltest job was intended to skip for Dependabot PRs, but theifcondition checked against'dependabot'while GitHub's actual actor for Dependabot is'dependabot[bot]'. This caused the test to run on Dependabot PRs and fail duringnpm installdue to ESLint 10 peer dependency conflicts (eslint-config-standard@17requireseslint@^8.0.1).Change
.github/workflows/node-ci.yml: Fix actor string inifconditionOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.