From 842dc0b6bbb2ed52cce7c67e0a18d82e765a8c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ege=20G=C3=BCne=C5=9F?= Date: Mon, 4 Nov 2024 19:28:34 +0300 Subject: [PATCH 1/2] CLOUD-867: Add pull request description/checklist check --- .github/workflows/reviewdog.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index b1c04c7136..9e756a14b0 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -1,6 +1,21 @@ name: reviewdog on: [pull_request] jobs: + pr-description: + name: runner / pull-request + runs-on: ubuntu-latest + steps: + - name: Check PR description + uses: JJ/github-pr-contains-action@releases/v14.1 + with: + github-token: ${{github.token}} + bodyDoesNotContain: 'Short explanation of the problem' + - name: Check PR checklist + uses: JJ/github-pr-contains-action@releases/v14.1 + with: + github-token: ${{github.token}} + bodyDoesNotContain: '- [ ]' + golangci-lint: name: runner / suggester / golangci-lint runs-on: ubuntu-latest From ad4f0465f156a74e7517c7f12e5c7ba349601c75 Mon Sep 17 00:00:00 2001 From: Viacheslav Sarzhan Date: Mon, 4 Nov 2024 19:11:46 +0200 Subject: [PATCH 2/2] fix [] --- .github/workflows/reviewdog.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 9e756a14b0..9ff0e5e006 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -14,7 +14,7 @@ jobs: uses: JJ/github-pr-contains-action@releases/v14.1 with: github-token: ${{github.token}} - bodyDoesNotContain: '- [ ]' + bodyDoesNotContain: '\[ \]' golangci-lint: name: runner / suggester / golangci-lint