Skip to content
Snippets Groups Projects
Select Git revision
  • 36516198c9a07b1c58eee5ffd7380ced8921735a
  • main default protected
  • renovate/main-ghcr.io-renovatebot-base-image-11.x
  • renovate/main-vitest-eslint-plugin-1.x
  • renovate/main-actions-setup-node-5.x
  • jamietanna-patch-2
  • jamietanna-patch-1
  • test/mc-maven
  • feat/minimumReleaseAgeTimestamp-required
  • defect/test-name
  • renovate/main-linters
  • renovate/main-find-up-8.x
  • refactor/pin-new-value
  • fix/user-agent
  • feat/37517-base64-private-key
  • next
  • feat/gnupg
  • fix/36615b-branch-reuse-no-cache
  • chore/punycode
  • feat/36219--git-x509-signing
  • feat/structured-logger
  • 41.144.1
  • 41.144.0
  • 41.143.3
  • 41.143.2
  • 41.143.1
  • 41.143.0
  • 41.142.1
  • 41.142.0
  • 41.141.0
  • 41.140.3
  • 41.140.2
  • 41.140.1
  • 41.140.0
  • 41.139.1
  • 41.139.0
  • 41.138.5
  • 41.138.4
  • 41.138.3
  • 41.138.2
  • 41.138.1
41 results

read-only-issue-body.ts

Blame
  • user avatar
    Rhys Arkins authored
    Moves datasource, manager, platform and versioning code from lib/ into new lib/modules/
    
    BREAKING CHANGE: External tools must update paths to datasource, manager, platform and versioning
    dca3418b
    History
    read-only-issue-body.ts 466 B
    import { regEx } from '../../../util/regex';
    
    export function readOnlyIssueBody(body: string): string {
      return body
        .replace(' only once you click their checkbox below', '')
        .replace(' unless you click a checkbox below', '')
        .replace(' To discard all commits and start over, click on a checkbox.', '')
        .replace(regEx(/ Click (?:on |)a checkbox.*\./g), '')
        .replace(regEx(/\[ ] <!-- \w*-branch.*-->/g), '');
    }
    
    export default readOnlyIssueBody;