Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/providers-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Provider type: `github`.
> The GitHub repository name.
> For example, for the ADF repository it would be:
> `aws-deployment-framework`.
- *branch* - *(String)* - default: `master`.
- *branch* - *(String)* - default: `main`.
> The Branch on the GitHub repository to use to trigger this specific
> pipeline.
- *owner* - *(String)* **(required)**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def create_webhook_when_required(scope, pipeline, map_params):
filters=[
_codepipeline.CfnWebhook.WebhookFilterRuleProperty(
json_path="$.ref",
match_equals="refs/heads/{0}".format(map_params.get('default_providers', {}).get('source', {}).get('properties', {}).get('branch', {}) or 'master')
match_equals="refs/heads/{0}".format(map_params.get('default_providers', {}).get('source', {}).get('properties', {}).get('branch', {}) or 'main')
)
],
target_action="source",
Expand Down