diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..2ce0030 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,4 @@ +# Owners must have write access to the repo, otherwise GitHub ignores the line. +* @hhvrc @LucHeart +/SECURITY.md @hhvrc @LucHeart +/.github/ @hhvrc @LucHeart diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9ddf06e..40a64dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,15 @@ jobs: path: artifacts/ - name: Create draft release - uses: softprops/action-gh-release@8a0cd651e5b2365bd640854a3fa5dfc70e4875f3 # v3.0.4 - with: - tag_name: ${{ github.ref_name }} - name: ${{ github.ref_name }} - draft: true - generate_release_notes: true - files: artifacts/OpenShock.Sentry.module.zip \ No newline at end of file + env: + GH_TOKEN: ${{ github.token }} + TAG: ${{ github.ref_name }} + TITLE: ${{ github.ref_name }} + run: | + gh release create "$TAG" \ + --repo "$GITHUB_REPOSITORY" \ + --verify-tag \ + --title "$TITLE" \ + --draft \ + --generate-notes \ + artifacts/OpenShock.Sentry.module.zip \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..c9662f5 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,25 @@ +# Security Policy + +OpenShock controls devices that people wear, so we take security reports seriously. +Scope, rules for testing, response times, disclosure and safe harbor are described in the +**[OpenShock security policy](https://github.com/OpenShock/.github/blob/main/SECURITY.md)**. +Please read it before testing. + +## Reporting a vulnerability + +**Do not open a public issue, pull request or Discord thread for a security vulnerability.** + +Report it privately through one of these channels: + +- [GitHub private vulnerability reporting](https://github.com/OpenShock/Sentry/security/advisories/new) (preferred) +- Email to [security@openshock.org](mailto:security@openshock.org) + +We acknowledge reports within 3 working days (7 days at most), give a triage result within +14 days, and follow coordinated disclosure with a default deadline of 90 days. OpenShock does not +pay bounties; reporters are credited in the advisory and in our +[security acknowledgments](https://github.com/OpenShock/.github/blob/main/SECURITY-ACKNOWLEDGMENTS.md) +if they wish. + +## Supported versions + +Only the latest release receives security fixes.