From b46fe6c2fa28e73edb30428284aad55e7f6752cd Mon Sep 17 00:00:00 2001 From: HeavenVR Date: Fri, 13 Nov 2026 16:15:36 +0100 Subject: [PATCH] chore: sync with org-wide desired state ### files - add `SECURITY.md` - add `.github/CODEOWNERS` ### actions - .github/workflows/release.yml: replaced `softprops/action-gh-release` with a `gh release create` step --- .github/CODEOWNERS | 4 ++++ .github/workflows/release.yml | 19 ++++++++++++------- SECURITY.md | 25 +++++++++++++++++++++++++ 3 files changed, 41 insertions(+), 7 deletions(-) create mode 100644 .github/CODEOWNERS create mode 100644 SECURITY.md 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 7734530..ec31bc9 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@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2 - with: - tag_name: ${{ github.ref_name }} - name: ${{ github.ref_name }} - draft: true - generate_release_notes: true - files: artifacts/OpenShock.LocalRelay.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.LocalRelay.module.zip \ No newline at end of file diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..5910482 --- /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/LocalRelay/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.