From b70538646ff39f2b6156e4d93c70a3b0ccc44289 Mon Sep 17 00:00:00 2001 From: Stas Uschakow <150824261+ThatStasGuy@users.noreply.github.com> Date: Fri, 16 Feb 2024 09:35:34 +0100 Subject: [PATCH] Update create-release.yml Fixing create-release workflow by adding proper permissions and removing dummy changelog body. --- .github/workflows/create-release.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index b65354d..aa30e43 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -1,9 +1,13 @@ on: push: # Sequence of patterns matched against refs/tags + branches: + - "main" tags: - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 - +permissions: + contents: write + pull-requests: read name: Create Release jobs: @@ -21,9 +25,5 @@ jobs: with: tag_name: ${{ github.ref }} release_name: Release ${{ github.ref }} - body: | - Changes in this Release - - First Change - - Second Change draft: false prerelease: false