Skip to content

Commit

Permalink
Clearification about closed PR for gitops commands
Browse files Browse the repository at this point in the history
added clearification for gitops commands when send on
closed pull requests or merge requests.

Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
  • Loading branch information
zakisk authored and chmouel committed Jan 30, 2025
1 parent 4a0d7a8 commit d146051
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/content/docs/guide/gitops_commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ Roses are red, violets are blue. Pipelines are bound to flake by design.
/test <pipelinerun-name>
```

{{< hint info >}}

Please be aware that GitOps commands such as `/test` and others will not function on closed Pull Requests or Merge Requests.

{{< /hint >}}

## GitOps Commands on Pushed Commits

If you want to trigger a GitOps command on a pushed commit, you can include the `GitOps` comments within your commit messages. These comments can be used to restart either all pipelines or specific ones. Here's how it works:
Expand Down

0 comments on commit d146051

Please sign in to comment.