Skip to content

Commit d0425d9

Browse files
committed
docs: clarify GitHub webhook behavior for multiple tag pushes
Add warning in event matching documentation to clarify GitHub's limitation when pushing multiple tags simultaneously. Specifically documents that GitHub does not send webhook events when more than three tags are pushed at once (e.g., using 'git push origin --tags'). This helps users understand why pipeline runs may not trigger when pushing bulk tags and provides a link to GitHub's official documentation for reference. Fixes #2252 Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
1 parent 2946d77 commit d0425d9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/docs/guide/matchingevents.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ annotations:
5858
This will match the pipeline `pipeline-push-on-1.0-tags` when you push the 1.0
5959
tags into your repository.
6060

61+
{{< hint warning >}}
62+
GitHub does not send webhook events when more than three tags are pushed simultaneously (e.g., with `git push origin --tags`). To ensure pipeline runs are triggered for all tags, push them in batches of three or fewer. [See GitHub's docs here](https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows#create).
63+
{{< /hint >}}
64+
6165
Matching annotations are currently required; otherwise, Pipelines-as-Code will not
6266
match your `PipelineRun`.
6367

0 commit comments

Comments
 (0)