-
Notifications
You must be signed in to change notification settings - Fork 41
Workflow improvements (cancel in progress action and only install nec… #3253
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
Merged
Crabcyborg
merged 3 commits into
master
from
cancel_in_progress_actions_and_only_install_necessary_composer_deps
Aug 18, 2026
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: Strategy11/formidable-forms
Length of output: 247
🏁 Script executed:
Repository: Strategy11/formidable-forms
Length of output: 3707
🌐 Web query:
Composer CLI documentation custom COMPOSER filename lock file composer.lock💡 Result:
To use a custom filename for your composer.json file, you must set the COMPOSER environment variable [1][2][3]. When this variable is defined, Composer will use that specified filename instead of the default composer.json [1][4]. Importantly, the generated lock file will automatically use the same base name as your custom composer.json file [1][2][3]. For example, if you set COMPOSER=my-project.json, Composer will look for my-project.json and generate or update the corresponding my-project.lock file [1][2]. You can set this variable in your shell session before running Composer commands: # Example of setting the custom filename COMPOSER=my-project.json composer install This functionality is a standard part of the Composer CLI and is documented under its environment variables configuration [1][2][3]. Note that while you can customize the filename, Composer does not currently support using a different directory or structure for the lock file; it will always be created in the same directory as the specified composer.json [1][3].
Citations:
Add matching lock files for the filtered Composer manifests.
COMPOSER=composer.ci.jsonmakes Composer usecomposer.ci.lock, but no Composer lock file is tracked. Each workflow therefore resolves current dependency versions during CI. Store a separate matching manifest and lock file for eachNEEDlist in.github/workflows/mago.yml,.github/workflows/php-cs-fixer.yml,.github/workflows/phpcs.yml,.github/workflows/phpstan.yml, and.github/workflows/rector.yml.📍 Affects 5 files
.github/workflows/mago.yml#L26-L41(this comment).github/workflows/php-cs-fixer.yml#L25-L39.github/workflows/phpcs.yml#L25-L40.github/workflows/phpstan.yml#L29-L44.github/workflows/rector.yml#L25-L41🤖 Prompt for AI Agents