Skip to content

Commit

Permalink
feature: disable check for security policy in Repolint configuration …
Browse files Browse the repository at this point in the history
…files. Fixes newrelic#39.
  • Loading branch information
lucasgonze committed Sep 29, 2023
1 parent 53d9af9 commit 8462b4f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 34 deletions.
17 changes: 0 additions & 17 deletions repolinter-rulesets/community-plus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,6 @@ rules:
and this rule is failing, your header may be out of date, and you should
update your header with the suggested one below
policyUrl: https://opensource.newrelic.com/oss-category/
readme-contains-link-to-security-policy:
level: error
rule:
type: file-contents
options:
globsAll:
- README*
fail-on-non-existent: true
flags: i
content: (?:(?:https:\/\/github\.com\/newrelic\/[^\/]+)|(?:\.\.\/\.\.))\/security\/policy
human-readable-content: a link to the security policy for this repository
policyInfo: >-
New Relic recommends putting a link to the open source security policy for your project
(`https://github.com/newrelic/<repo-name>/security/policy` or `../../security/policy`)
in the README. For an example of this, please see the "a note about vulnerabilities"
section of the [Open By Default repository](https://github.com/newrelic/open-by-default#contribute)
policyUrl: https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code
readme-contains-forum-topic:
level: error
rule:
Expand Down
17 changes: 0 additions & 17 deletions repolinter-rulesets/community-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,23 +70,6 @@ rules:
and this rule is failing, your header may be out of date, and you should
update your header with the suggested one below
policyUrl: https://opensource.newrelic.com/oss-category/
readme-contains-link-to-security-policy:
level: error
rule:
type: file-contents
options:
globsAll:
- README*
fail-on-non-existent: true
flags: i
content: (?:(?:https:\/\/github\.com\/newrelic\/[^\/]+)|(?:\.\.\/\.\.))\/security\/policy
human-readable-content: a link to the security policy for this repository
policyInfo: >-
New Relic recommends putting a link to the open source security policy for your project
(`https://github.com/newrelic/<repo-name>/security/policy` or `../../security/policy`)
in the README. For an example of this, please see the "a note about vulnerabilities"
section of the [Open By Default repository](https://github.com/newrelic/open-by-default#contribute)
policyUrl: https://nerdlife.datanerd.us/new-relic/security-guidelines-for-publishing-source-code
readme-contains-forum-topic:
level: error
rule:
Expand Down

0 comments on commit 8462b4f

Please sign in to comment.