Skip to content
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

Task enabled #989

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Task enabled #989

merged 2 commits into from
Mar 10, 2022

Conversation

veewee
Copy link
Contributor

@veewee veewee commented Mar 10, 2022

Q A
Branch master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Documented? yes
Fixed tickets

This PR allows for dynamically enable a task. Usefull for conventions so that you can configurably run a task or not through parameters.

Examples:

# grumphp.yaml
parameters:
    run_security_advisories: true
grumphp:
    tasks:
        securitychecker_roave:
            jsonfile: ./composer.json
            lockfile: ./composer.lock
            run_always: true
            metadata:
                enabled: "%run_security_advisories%"

@veewee veewee added this to the 1.9.0 milestone Mar 10, 2022
@veewee veewee merged commit 64450ed into phpro:master Mar 10, 2022
@drupol
Copy link
Contributor

drupol commented Mar 11, 2022

This is going to be very useful, thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants