From ebba059a681ddaec12f0422f10f6d3955c76543c Mon Sep 17 00:00:00 2001 From: chaosinthecrd Date: Mon, 29 Jan 2024 16:02:47 +0000 Subject: [PATCH] adding job to auto cut releases Signed-off-by: chaosinthecrd --- .github/workflows/release.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2785e946..c67e6dc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,3 +55,13 @@ jobs: command: go test -v -coverprofile=profile.cov -covermode=atomic ./... artifact-upload-name: profile.cov artifact-upload-path: profile.cov + + release: + needs: [fmt, sast, unit-tests] + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Release + uses: softprops/action-gh-release@v1