Unpushed commits (local main ahead of origin/main)#88
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a GitHub Actions workflow to run Composer vulnerability audits on dependency changes and on a weekly schedule.
Changes:
- Introduces a new
Composer auditworkflow triggered oncomposer.json/composer.lockchanges, schedule, and manual dispatch. - Sets up PHP 8.4 and runs a dependency resolution step followed by
composer audit.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+36
to
+37
| composer update --no-interaction --no-ansi | ||
| composer audit |
There was a problem hiding this comment.
composer update in an audit workflow will resolve new dependency versions and can hide vulnerabilities that exist in the committed composer.lock (the dependencies users/CI actually install). For auditing, prefer auditing the lock file directly (e.g., composer audit --locked) or run composer install and then composer audit, instead of updating dependencies.
Suggested change
| composer update --no-interaction --no-ansi | |
| composer audit | |
| composer install --no-interaction --no-ansi --no-progress --prefer-dist | |
| composer audit --locked |
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.
Local main was 2 commit(s) ahead of origin/main. Opened from update-opensource-active.sh for review.