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