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

Add condition to existing conditional execution #65

Open
yeikel opened this issue Mar 28, 2023 · 0 comments
Open

Add condition to existing conditional execution #65

yeikel opened this issue Mar 28, 2023 · 0 comments
Labels

Comments

@yeikel
Copy link
Contributor

yeikel commented Mar 28, 2023

This recipe should allow adding to an existing condition given the expression

diff --git a/.github/workflows/onboarding.yaml b/.github/workflows/onboarding.yaml
index 56bd473..cdec9e5 100644
--- a/.github/workflows/onboarding.yaml
+++ b/.github/workflows/onboarding.yaml
@@ -80,7 +80,7 @@ jobs:
   validate:
     name: Validate
-    if: contains(github.event.issue.labels.*.name, 'onboarding')
+    if: contains(github.event.issue.labels.*.name, 'onboarding') || startsWith(github.event.issue.title,'Onboarding')
@timtebeek timtebeek moved this to Recipes Wanted in OpenRewrite Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Recipes Wanted
Development

No branches or pull requests

2 participants