From e831f770d51d603c7550c7bb0c73dd1a4d4bcf03 Mon Sep 17 00:00:00 2001 From: Anatoliy Melnikov <5785276@gmail.com> Date: Tue, 8 Oct 2024 23:51:42 +0300 Subject: [PATCH] #40 Don't create PR when nothing was commited --- .github/workflows/todo-registrar.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/todo-registrar.yaml b/.github/workflows/todo-registrar.yaml index 58a8390..cd019fb 100644 --- a/.github/workflows/todo-registrar.yaml +++ b/.github/workflows/todo-registrar.yaml @@ -117,6 +117,7 @@ jobs: branch: ${{ steps.branch_name.outputs.branch_name }} - name: Create pull request + if: ${{ ! steps.commit.outputs.result }} env: GITHUB_TOKEN: ${{ secrets.GH_TODO_REGISTRAR_ACCESS_TOKEN }} run: |