From b4a04365a63b5fd3896e51b5e2e3dfa4d7f35d06 Mon Sep 17 00:00:00 2001 From: Kyle Benesch <4b796c65+github@gmail.com> Date: Thu, 25 May 2023 03:57:40 -0700 Subject: [PATCH] Replace deprecated release action. --- .github/workflows/release-on-tag.yml | 13 +++++-------- .vscode/settings.json | 1 + 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-on-tag.yml b/.github/workflows/release-on-tag.yml index cecfbda6..95cf02d3 100644 --- a/.github/workflows/release-on-tag.yml +++ b/.github/workflows/release-on-tag.yml @@ -9,6 +9,8 @@ jobs: build: name: Create Release runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout code uses: actions/checkout@v3 @@ -17,12 +19,7 @@ jobs: scripts/get_release_description.py | tee release_body.md - name: Create Release id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + uses: ncipollo/release-action@v1 with: - tag_name: ${{ github.ref }} - release_name: "" - body_path: release_body.md - draft: false - prerelease: false + name: "" + bodyFile: release_body.md diff --git a/.vscode/settings.json b/.vscode/settings.json index 12dc2d77..6351b6e7 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -265,6 +265,7 @@ "muly", "mypy", "namegen", + "ncipollo", "ndarray", "ndim", "newaxis",