From 05f105ed64514224a1c98609239912818b7dc207 Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Fri, 19 Apr 2024 03:53:34 +0000 Subject: [PATCH 1/2] feat: add commit message check CI --- .github/workflows/commit-msg-check.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/commit-msg-check.yml diff --git a/.github/workflows/commit-msg-check.yml b/.github/workflows/commit-msg-check.yml new file mode 100644 index 0000000..fd6835d --- /dev/null +++ b/.github/workflows/commit-msg-check.yml @@ -0,0 +1,15 @@ +name: 'Commit Message Check' + +on: + push: + branches: [ main ] + 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 \ No newline at end of file From 8306cfcbc5160fac31c1231bf086f51a854401be Mon Sep 17 00:00:00 2001 From: "CTFang@WireLab" Date: Fri, 19 Apr 2024 04:05:26 +0000 Subject: [PATCH 2/2] chore: bump action/checkout version v4 --- .github/workflows/golangci-lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 273172c..e4bcd29 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -20,7 +20,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run golangci-lint uses: golangci/golangci-lint-action@v4 with: