From 020b9c11808560a021394b0304870aaebe2350b5 Mon Sep 17 00:00:00 2001 From: Fabio Ribeiro Date: Thu, 5 Sep 2024 12:15:57 +0200 Subject: [PATCH] chore(release): auto release Release new version by creating tags automatically following the Conventional Commits. --- .github/workflows/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..b8d1a74 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,23 @@ +name: release + +on: + push: + branches: + - main + +permissions: + contents: write + +jobs: + release: + name: release + runs-on: [ubuntu-latest] + + steps: + - name: checkout the code + uses: actions/checkout@v4 + + - name: run semantic-release + uses: go-semantic-release/action@v1 + with: + github-token: ${{ secrets.GITHUB_TOKEN }}