From 0bc283d271878071ef50a413bab48f3bfc1ab312 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Fri, 3 Feb 2023 19:08:20 -0500 Subject: [PATCH] feat: add conventional commits linter and changelog generator (#5) --- .github/workflows/conventional-commits.yml | 14 ++++++++++++++ .github/workflows/release-please.yml | 13 +++++++++++++ 2 files changed, 27 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 0000000..915e257 --- /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@v2 + + - uses: webiny/action-conventional-commits@v1.1.0 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..04689ac --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,13 @@ +on: + push: + branches: + - main +name: release-please +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + with: + release-type: node + package-name: release-please-action