Skip to content

Commit db62f7b

Browse files
authored
Merge branch 'main' into patch-2
2 parents d8bd4a0 + dc88521 commit db62f7b

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.devcontainer/devcontainer.json

+7
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@
3333

3434
// Use 'forwardPorts' to make a list of ports inside the container available locally.
3535
"forwardPorts": [4000],
36+
37+
"portsAttributes": {
38+
"4000": {
39+
"label": "Preview",
40+
"onAutoForward": "openPreview"
41+
}
42+
},
3643

3744
// Use 'postCreateCommand' to run commands after the container is created.
3845
"postCreateCommand": "git lfs pull && npm ci",

content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md

+11
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ If you confirm a secret is real and that you intend to fix it later, you should
8686

8787
{% data reusables.secret-scanning.push-protection-multiple-branch-note %}
8888

89+
{% ifversion ghes < 3.6 or ghae < 3.6 %}
90+
91+
{% tip %}
92+
93+
**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.
94+
95+
{% endtip %}
96+
97+
{% endif %}
98+
8999
### Allowing a blocked secret to be pushed
90100

91101
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
137147

138148
1. Click **Allow secret**.
139149

150+
140151
{% endif %}

0 commit comments

Comments
 (0)