-
-
Notifications
You must be signed in to change notification settings - Fork 5
Automate npm audit fix via daily GitHub Action #3645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Co-authored-by: Nateowami <6140710+Nateowami@users.noreply.github.com>
Co-authored-by: Nateowami <6140710+Nateowami@users.noreply.github.com>
Co-authored-by: Nateowami <6140710+Nateowami@users.noreply.github.com>
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v5 |
Check failure
Code scanning / zizmor
unpinned action reference Error
| persist-credentials: true | ||
|
|
||
| - name: Set up Node | ||
| uses: actions/setup-node@v5 |
Check failure
Code scanning / zizmor
unpinned action reference Error
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3645 +/- ##
=======================================
Coverage 83.52% 83.52%
=======================================
Files 610 610
Lines 37512 37512
Branches 6172 6148 -24
=======================================
Hits 31332 31332
- Misses 5226 5239 +13
+ Partials 954 941 -13 ☔ View full report in Codecov by Sentry. |
|
This PR has Zizmor failures that should be fixed by the merging of #3646. |
Automates vulnerability patching across all package.json files by running
npm audit fixdaily and opening a PR with changes.Implementation
Workflow:
.github/workflows/update-npm-audit.ymlExecution order (respects dependency chain):
src/RealtimeServersrc/SIL.XForge.Scripture/ClientAppscripts/db_toolsProcess per package:
npm ci→npm audit fix→ commit changesPR creation: Uses
peter-evans/create-pull-request@v7.0.5(consistent withupdate-font-list.ymlandupdate-localizations.yml)The workflow continues on error to handle packages with no vulnerabilities.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.
This change is