In most cases, you will want your pipeline to initiate execution automatically as the result of some external event that causes a resource to change. This is configured by defining a step's
For example, you are likely to want to trigger a run whenever there is a new commit into a source code repository.
To set your source code repo as the pipeline trigger:
If you haven't already, add a GitHub integration (or other source control system type) to JFrog Pipelines.
resourcesdefinitions of your pipeline config, define a gitrepo resource type for the project repository, with a descriptive name (for example, "myprojectrepo").
In the definition of the first step of your pipeline, specify the
inputResources. For extra clarity, you can also specify
true(even though that is the default). For example:
inputResources: - name:
myprojectrepo trigger: true
When triggering runs through a GitRepo resource, adding
[skipRun] to a commit message won't trigger anything when that commit is pushed to the source provider.
When the completed pipeline is viewed, the
gitreporesource is shown as a triggering input into the step.