Hello,
I’m setting up my first CodeFresh pipeline using a specification and cannot get the GiHub trigger to verify. The portal notes that it Failed to add Trigger to GITHUB.
If I use the codefresh cli, I get the following error:
Error: "{\"status\":500,\"code\":\"1001\",\"name\":\"INTERNAL_SERVER_ERROR\",\"message\":\"Failed to run pipeline\",\"context\":{}}"
Here’s my trigger definition:
triggers:
- name: "push-to-master"
branchRegex: "/master/gi"
branchRegexInput: "regex"
commentRegex: "/.*/gi"
description: "Trigger on Push to Master"
events:
- "push.heads"
modifiedFilesGlob: "{awesome/src/**,awesome/src/!(*.md)}"
provider: "github"
pullRequestAllowForkEvents: false
repo: "ficticious-company/lots-of-awesome"
type: "git"
When I add a trigger via the portal, it verifies successfully but the configuration appears to be identical. Any ideas?
Thanks in advance.