Adjust booleans in source control modules. (#5158)

This commit is contained in:
Felix Fontein 2022-08-24 19:59:56 +02:00 committed by GitHub
parent 35a283918a
commit 675bdef190
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 68 additions and 68 deletions

View file

@ -49,7 +49,7 @@ options:
description:
- Trigger hook on push events.
type: bool
default: yes
default: true
push_events_branch_filter:
description:
- Branch name of wildcard to trigger hook on push events
@ -59,42 +59,42 @@ options:
description:
- Trigger hook on issues events.
type: bool
default: no
default: false
merge_requests_events:
description:
- Trigger hook on merge requests events.
type: bool
default: no
default: false
tag_push_events:
description:
- Trigger hook on tag push events.
type: bool
default: no
default: false
note_events:
description:
- Trigger hook on note events or when someone adds a comment.
type: bool
default: no
default: false
job_events:
description:
- Trigger hook on job events.
type: bool
default: no
default: false
pipeline_events:
description:
- Trigger hook on pipeline events.
type: bool
default: no
default: false
wiki_page_events:
description:
- Trigger hook on wiki events.
type: bool
default: no
default: false
hook_validate_certs:
description:
- Whether GitLab will do SSL verification when triggering the hook.
type: bool
default: no
default: false
aliases: [ enable_ssl_verification ]
token:
description:
@ -113,9 +113,9 @@ EXAMPLES = '''
project: "my_group/my_project"
hook_url: "https://my-ci-server.example.com/gitlab-hook"
state: present
push_events: yes
tag_push_events: yes
hook_validate_certs: no
push_events: true
tag_push_events: true
hook_validate_certs: false
token: "my-super-secret-token-that-my-ci-server-will-check"
- name: "Delete the previous hook"