You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: markdownlint error happening due to new version
this commit fixes markdownlint errors in /docs directory
causing due to new version of the markdownlint cli.
errors were related to tabeles in docs where we use
pipe ('|') for separation and they were not aligned.
Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
| body | The full payload body (see [below](#using-the-body-and-headers-in-a-pipelines-as-code-parameter)) |`{{body.pull_request.user.email }}`|<email@domain.com>|
53
-
| event_type | The event type (eg: `pull_request` or `push`) |`{{event_type}}`| pull_request (see the note for GitOps Comments [here]({{< relref "/docs/guide/gitops_commands.md#event-type-annotation-and-dynamic-variables" >}}) ) |
54
-
| git_auth_secret | The secret name auto-generated with provider token to check out private repos. |`{{git_auth_secret}}`| pac-gitauth-xkxkx |
55
-
| headers | The request headers (see [below](#using-the-body-and-headers-in-a-pipelines-as-code-parameter)) |`{{headers['x-github-event']}}`| push |
56
-
| pull_request_number | The pull or merge request number, only defined when we are in a `pull_request` event or push event occurred when pull request is merged. |`{{pull_request_number}}`| 1 |
57
-
| repo_name | The repository name. |`{{repo_name}}`| pipelines-as-code |
58
-
| repo_owner | The repository owner in the git provider. (For VCS providers with owner hierarchies, e.g. GitLab's orgs; namespaces; groups; and subgroups, the full ownership slug is used) |`{{repo_owner}}`| openshift-pipelines |
59
-
| repo_url | The repository full URL. |`{{repo_url}}`|<https://github.com/openshift-pipelines/pipelines-as-code>|
60
-
| revision | The commit full sha revision. |`{{revision}}`| 1234567890abcdef |
61
-
| sender | The sender username (or account ID on some providers) of the commit. |`{{sender}}`| johndoe |
62
-
| source_branch | The branch name where the event comes from. |`{{source_branch}}`| main |
63
-
| git_tag | The Git tag pushed (only available for tag push events; otherwise empty `""`). |`{{git_tag}}`| v1.0 |
64
-
| source_url | The source repository URL from where the event comes (same as the value `repo_url` for push events). |`{{source_url}}`|<https://github.com/openshift-pipelines/pipelines-as-code>|
65
-
| target_branch | The branch name on which the event targets (same as `source_branch` for push events). |`{{target_branch}}`| main |
66
-
| target_namespace | The target namespace where the Repository has matched and the PipelineRun will be created. |`{{target_namespace}}`| my-namespace |
67
-
| trigger_comment | The comment triggering the PipelineRun when using a [GitOps command]({{< relref "/docs/guide/running.md#gitops-command-on-pull-or-merge-request" >}}) (like `/test`, `/retest`) |`{{trigger_comment}}`| /merge-pr branch |
68
-
| pull_request_labels | The labels of the pull request separated by a newline |`{{pull_request_labels}}`| bugs\nenhancement |
50
+
| Variable | Description | Example | Example Output|
| body | The full payload body (see [below](#using-the-body-and-headers-in-a-pipelines-as-code-parameter)) |`{{body.pull_request.user.email }}`|<email@domain.com>|
53
+
| event_type | The event type (eg: `pull_request` or `push`) |`{{event_type}}`| pull_request (see the note for GitOps Comments [here]({{< relref "/docs/guide/gitops_commands.md#event-type-annotation-and-dynamic-variables" >}}) )|
54
+
| git_auth_secret | The secret name auto-generated with provider token to check out private repos. |`{{git_auth_secret}}`| pac-gitauth-xkxkx|
55
+
| headers | The request headers (see [below](#using-the-body-and-headers-in-a-pipelines-as-code-parameter)) |`{{headers['x-github-event']}}`| push|
56
+
| pull_request_number | The pull or merge request number, only defined when we are in a `pull_request` event or push event occurred when pull request is merged. |`{{pull_request_number}}`| 1|
57
+
| repo_name | The repository name. |`{{repo_name}}`| pipelines-as-code|
58
+
| repo_owner | The repository owner in the git provider. (For VCS providers with owner hierarchies, e.g. GitLab's orgs; namespaces; groups; and subgroups, the full ownership slug is used) |`{{repo_owner}}`| openshift-pipelines|
59
+
| repo_url | The repository full URL. |`{{repo_url}}`|<https://github.com/openshift-pipelines/pipelines-as-code>|
60
+
| revision | The commit full sha revision. |`{{revision}}`| 1234567890abcdef|
61
+
| sender | The sender username (or account ID on some providers) of the commit. |`{{sender}}`| johndoe|
62
+
| source_branch | The branch name where the event comes from. |`{{source_branch}}`| main|
63
+
| git_tag | The Git tag pushed (only available for tag push events; otherwise empty `""`). |`{{git_tag}}`| v1.0|
64
+
| source_url | The source repository URL from where the event comes (same as the value `repo_url` for push events). |`{{source_url}}`|<https://github.com/openshift-pipelines/pipelines-as-code>|
65
+
| target_branch | The branch name on which the event targets (same as `source_branch` for push events). |`{{target_branch}}`| main|
66
+
| target_namespace | The target namespace where the Repository has matched and the PipelineRun will be created. |`{{target_namespace}}`| my-namespace|
67
+
| trigger_comment | The comment triggering the PipelineRun when using a [GitOps command]({{< relref "/docs/guide/running.md#gitops-command-on-pull-or-merge-request" >}}) (like `/test`, `/retest`) |`{{trigger_comment}}`| /merge-pr branch|
68
+
| pull_request_labels | The labels of the pull request separated by a newline |`{{pull_request_labels}}`| bugs\nenhancement|
69
69
70
70
Note: When using the `{{ pull_request_number }}` variable in a push-triggered PipelineRun when a pull request is merged and the commit is associated with multiple pull requests
71
71
the git provider API may return more than one pull request. In such cases, the `{{ pull_request_number }}` variable will contain the number of the first pull request returned by the API.
0 commit comments