Skip to content

Commit b021ce9

Browse files
authored
Merge pull request #12950 from github/repo-sync
repo sync
2 parents 8b80477 + 80036b9 commit b021ce9

4 files changed

Lines changed: 10 additions & 5 deletions

File tree

.github/workflows/create-translation-batch-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ name: Create translation Batch Pull Request
1111
on:
1212
workflow_dispatch:
1313
schedule:
14-
- cron: '33 18 * * *' # every day at 18:33 UTC at least until automerge is working
14+
- cron: '25 */6 * * *' # Every six hours
1515

1616
jobs:
1717
create-translation-batch:

components/Search.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ function ShowSearchResults({
370370
isHeaderSearch && 'overflow-auto'
371371
)}
372372
>
373-
<div className="mt-4 pb-6 width-full border-bottom">
373+
<div className="mt-4 pb-4 width-full border-bottom">
374374
<p className={cx(styles.searchWording, 'f6 ml-4 d-inline-block')}>
375375
You're searching the <strong>{searchVersion}</strong> version.
376376
</p>

components/landing/TableOfContents.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export const TableOfContents = (props: Props) => {
3131
text: title,
3232
renderItem: () => (
3333
<ActionList.Item>
34-
<li key={href} className="f4 d-list-item width-full">
34+
<li key={href} className="f4 d-list-item width-full list-style-none">
3535
<Link className="d-block width-full" href={href}>
3636
{title}
3737
</Link>
@@ -48,7 +48,7 @@ export const TableOfContents = (props: Props) => {
4848
return null
4949
}
5050
return (
51-
<li key={childItem.fullPath} className="f4 d-block width-full">
51+
<li key={childItem.fullPath} className="f4 d-block width-full m-2">
5252
<Link className="d-block width-full" href={childItem.fullPath}>
5353
{childItem.title}
5454
</Link>

lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"alert": {
44
"number": 10,
55
"created_at": "2020-07-22T14:06:31Z",
6+
"updated_at": "2020-07-22T14:06:31Z",
67
"url": "https://api.github.com/repos/Codertocat/Hello-World/code-scanning/alerts/10",
78
"html_url": "https://github.com/Codertocat/Hello-World/security/code-scanning/10",
89
"instances": [
@@ -14,13 +15,17 @@
1415
}
1516
],
1617
"state": "open",
18+
"fixed_at": null,
1719
"dismissed_by": null,
1820
"dismissed_at": null,
1921
"dismissed_reason": null,
2022
"rule": {
2123
"id": "Style/FrozenStringLiteralComment",
2224
"severity": "note",
23-
"description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default."
25+
"description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.",
26+
"full_description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.",
27+
"tags": ["style"],
28+
"help": "Enabled by default | Safe | Supports autocorrection | VersionAdded | VersionChanged\n--- | --- | --- | --- | ---\nEnabled | No | Yes (Unsafe) | 0.36 | 0.79\n\nThis cop is designed to help you transition from mutable string literals\nto frozen string literals.\nIt will add the comment `# frozen_string_literal: true` to the top of\nfiles to enable frozen string literals. Frozen string literals may be\ndefault in future Ruby. The comment will be added below a shebang and\nencoding comment. The frozen string literal comment is only valid in\nRuby 2.3+.\n\nNote that the cop will ignore files where the comment exists but is set\nto `false` instead of `true`.\n\n### Examples\n\n#### EnforcedStyle: always (default)\n\n```ruby\n# The `always` style will always add the frozen string literal comment\n# to a file, regardless of the Ruby version or if `freeze` or `<<` are\n# called on a string literal.\n# bad\nmodule Bar\n # ...\nend\n\n# good\n# frozen_string_literal: true\n\nmodule Bar\n # ...\nend\n\n# good\n# frozen_string_literal: false\n\nmodule Bar\n # ...\nend\n```\n#### EnforcedStyle: never\n\n```ruby\n# The `never` will enforce that the frozen string literal comment does\n# not exist in a file.\n# bad\n# frozen_string_literal: true\n\nmodule Baz\n # ...\nend\n\n# good\nmodule Baz\n # ...\nend\n```\n#### EnforcedStyle: always_true\n\n```ruby\n# The `always_true` style enforces that the frozen string literal\n# comment is set to `true`. This is a stricter option than `always`\n# and forces projects to use frozen string literals.\n# bad\n# frozen_string_literal: false\n\nmodule Baz\n # ...\nend\n\n# bad\nmodule Baz\n # ...\nend\n\n# good\n# frozen_string_literal: true\n\nmodule Bar\n # ...\nend\n```\n\n### Configurable attributes\n\nName | Default value | Configurable values\n--- | --- | ---\nEnforcedStyle | `always` | `always`, `always_true`, `never`\n\n"
2429
},
2530
"tool": {
2631
"name": "Rubocop",

0 commit comments

Comments
 (0)