We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a626a9b commit 885ab32Copy full SHA for 885ab32
1 file changed
pkg/workflow/task_job_generation_fix_test.go
@@ -164,8 +164,8 @@ Do conditional work.`
164
t.Error("Expected activation job for workflow with if condition")
165
}
166
167
- // Verify activation job has the if condition
168
- if !strings.Contains(lockContentStr, "if: ${{ github.ref == 'refs/heads/main' }}") {
+ // Verify activation job has the if condition (without ${{ }} wrapper, as per lock file format)
+ if !strings.Contains(lockContentStr, "if: github.ref == 'refs/heads/main'") {
169
t.Error("Expected activation job to have the if condition")
170
171
0 commit comments