diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index de86b9794..79a8ff6dc 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -3,6 +3,11 @@ description: Basic build and tests for the submodules on each push and pull requ on: pull_request: + types: + - opened + - reopened + - synchronize + - ready_for_review workflow_dispatch: env: diff --git a/.github/workflows/version.yml b/.github/workflows/version.yml index ebb129d8f..42e092cf8 100644 --- a/.github/workflows/version.yml +++ b/.github/workflows/version.yml @@ -67,7 +67,7 @@ jobs: - name: Open pull request for version update if: ${{ env.PR_EXISTS == '0' }} run: | - gh pr create -B master -H version_${{ steps.versioning.outputs.version }} -t "Update CryptoAnalysis version to ${{ steps.versioning.outputs.version }}" -b "This PR was created by the version-update workflow. Please make sure to delete the branch after merging, otherwise future workflows might fail." + gh pr create --draft -B master -H version_${{ steps.versioning.outputs.version }} -t "Update CryptoAnalysis version to ${{ steps.versioning.outputs.version }}" -b "This PR was created by the version-update workflow. Please make sure to delete the branch after merging, otherwise future workflows might fail." env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}