Skip to content

Commit c4564cf

Browse files
committed
Clarify comments in gitlab-webhook.sh regarding PAT usage examples
1 parent 5202a91 commit c4564cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/code/gitlab-webhook.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
# Make sure the script is executable:
88
# chmod +x gitlab-webhook.sh
99

10-
# PAT example (header auto-detected)
10+
# PAT auto-detected header
1111
# export GITLAB_TOKEN="glpat-xxxxx"
1212
# ./gitlab-add-webhook.sh \
1313
# -h "gitlab.example.com" -u "https://ci.example.com/gitlab-hook" \
1414
# -s "mySecret" -p 42
1515

16-
# PAT example (explicit header)
16+
# PAT with explicit header
1717
# ./gitlab-add-webhook.sh \
1818
# -h "gitlab.example.com" -u "https://ci.example.com/gitlab-hook" \
1919
# -s "mySecret" -g "mygroup/mysubgroup/myproject" \

0 commit comments

Comments
 (0)