-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Open
Copy link
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomers who wants to contribute codeGood for newcomers who wants to contribute code
Description
Gude!
I have a profile that I'd like to active in CI environment:
[profiles.ci]
enabled = { if = "environ.get('CI') == 'true'" }
no-status-rc = { if = "environ.get('CI_COMMIT_REF_NAME') == 'main'" }
The profile is automatically enabled when the environment variable CI
is set. Which is awesome. Now depending on the branch ci is working on, want the status-rc to be returned or not.
Now, I can duplicate the CI-job, but it would be very convenient when boolean configurtions (like no-status-rc
) would accept conditions just like enabled
.
Background:
feature branches must fail an be reviewed before being merged. Test runs on main must not fail the pipeline, as their results are reported in test reporting tool.
Regards
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomers who wants to contribute codeGood for newcomers who wants to contribute code