Open Source Software scanning Github Action. Used to scan the tools that we Open Source for compliance with ShopRunner OSS policies.
You can add the action to a workflow below.
name: "Compliance"
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
scan:
name: Scan
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v1
- name: OSS Scan
uses: shoprunner/action-oss@main
Below are the requirements that will be enforced. This list is not all-inclusive but should be the primary requirements.
CODE-OF-CONDUCT.md
in root directory, using the preset templateCONTRIBUTING.md
in the root directory (no linting of contents)bug_report.md
in the.github/ISSUE_TEMPLATE
directory (no linting of contents)feature_request.md
in the.github/ISSUE_TEMPLATE
directory (no linting of contents)
CODE-OF-CONDUCT.md
Sensitivity - The linter is very sensitive, please copy the file verbatim (i.e. don't add whitespace or new lines)- Case Sensitivity - Any file being linted MUST be spelled correctly, including the case (i.e.
PULL_REQUEST_TEMPLATE.md
vspull_request_template.md
) or it will error. LICENSE
file extension - You MUST NOT add a.txt
or other file extension to theLICENSE
file.
The vast majority of this repository is based on: https://github.com/auth0/open-source-template.