diff --git a/.github/workflows/create-translation-batch-pr.yml b/.github/workflows/create-translation-batch-pr.yml index 791999bf03..4d6943ce64 100644 --- a/.github/workflows/create-translation-batch-pr.yml +++ b/.github/workflows/create-translation-batch-pr.yml @@ -11,7 +11,7 @@ name: Create translation Batch Pull Request on: workflow_dispatch: schedule: - - cron: '33 18 * * *' # every day at 18:33 UTC at least until automerge is working + - cron: '25 */6 * * *' # Every six hours jobs: create-translation-batch: diff --git a/components/Search.tsx b/components/Search.tsx index bc740cf54e..5bffca3871 100644 --- a/components/Search.tsx +++ b/components/Search.tsx @@ -370,7 +370,7 @@ function ShowSearchResults({ isHeaderSearch && 'overflow-auto' )} > -
+

You're searching the {searchVersion} version.

diff --git a/components/landing/TableOfContents.tsx b/components/landing/TableOfContents.tsx index 38e2c7b9eb..9de9eeab7b 100644 --- a/components/landing/TableOfContents.tsx +++ b/components/landing/TableOfContents.tsx @@ -31,7 +31,7 @@ export const TableOfContents = (props: Props) => { text: title, renderItem: () => ( -
  • +
  • {title} @@ -48,7 +48,7 @@ export const TableOfContents = (props: Props) => { return null } return ( -
  • +
  • {childItem.title} diff --git a/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json b/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json index 4acbc806be..d9dcaef3c2 100644 --- a/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json +++ b/lib/webhooks/static/dotcom/code_scanning_alert.reopened.payload.json @@ -3,6 +3,7 @@ "alert": { "number": 10, "created_at": "2020-07-22T14:06:31Z", + "updated_at": "2020-07-22T14:06:31Z", "url": "https://api.github.com/repos/Codertocat/Hello-World/code-scanning/alerts/10", "html_url": "https://github.com/Codertocat/Hello-World/security/code-scanning/10", "instances": [ @@ -14,13 +15,17 @@ } ], "state": "open", + "fixed_at": null, "dismissed_by": null, "dismissed_at": null, "dismissed_reason": null, "rule": { "id": "Style/FrozenStringLiteralComment", "severity": "note", - "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default." + "description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.", + "full_description": "Add the frozen_string_literal comment to the top of files to help transition to frozen string literals by default.", + "tags": ["style"], + "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" }, "tool": { "name": "Rubocop",