1
0
mirror of synced 2026-01-09 06:03:09 -05:00

Merge branch 'main' into patch-2

This commit is contained in:
MTindev
2022-11-18 13:55:28 +01:00
committed by GitHub
2 changed files with 18 additions and 0 deletions

View File

@@ -33,6 +33,13 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4000],
"portsAttributes": {
"4000": {
"label": "Preview",
"onAutoForward": "openPreview"
}
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "git lfs pull && npm ci",

View File

@@ -86,6 +86,16 @@ If you confirm a secret is real and that you intend to fix it later, you should
{% data reusables.secret-scanning.push-protection-multiple-branch-note %}
{% ifversion ghes < 3.6 or ghae < 3.6 %}
{% tip %}
**Tip:** You can use {% data variables.product.prodname_secret_scanning %} as a push protection from the web UI, as well as the command line, in {% data variables.product.product_name %} version 3.6 or later.
{% endtip %}
{% endif %}
### Allowing a blocked secret to be pushed
If {% data variables.product.prodname_dotcom %} blocks a secret that you believe is safe to push, you can allow the secret and specify the reason why it should be allowed.
@@ -137,4 +147,5 @@ If you confirm a secret is real and that you intend to fix it later, you should
1. Click **Allow secret**.
{% endif %}