From 738c4f0563333cd9af080d4e3e75647ed8e25234 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Thu, 18 Apr 2024 20:07:19 -0400 Subject: [PATCH] ci: Add release-please workflow (#590) Signed-off-by: Dave Henderson --- .github/workflows/conventional-commits.yml | 14 ++++++++++++++ .github/workflows/release-please.yml | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/conventional-commits.yml create mode 100644 .github/workflows/release-please.yml diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 00000000..f1a75c56 --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,14 @@ +name: Conventional Commits + +on: + pull_request: + branches: + - main + +jobs: + build: + name: Conventional Commits + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: webiny/action-conventional-commits@v1.3.0 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 00000000..fa8af16b --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,19 @@ +name: release-please + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v4 + with: + token: ${{ secrets.GH_PAT }} + release-type: go