Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: disable check for security policy in Repolint configuration files #41

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading