diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3367b606f2..973f7fce28 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,11 @@ on: - conftest.py - package.json - pyproject.toml + types: + - opened + - synchronize + - reopened + - ready_for_review # this is needed to trigger checks, when an auto-generated "draft" PR is set for "ready for review". # Ref: https://docs.github.com/en/actions/using-jobs/using-concurrency concurrency: diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index 3adf9981b6..75f4a8f849 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -38,6 +38,7 @@ jobs: echo -e "## Proposed changes\n\nBumps the pre-commit config with the following updates:\n" > pr-body.md cat updates.log >> pr-body.md echo -e "\n---\nThis PR is auto-generated once a month." >> pr-body.md + echo -e "\n > [!NOTE]\n> Mark this PR as "ready for review" to trigger additional checks." # Ref: https://github.com/peter-evans/create-pull-request - name: Create pull request uses: peter-evans/create-pull-request@70a41aba780001da0a30141984ae2a0c95d8704e # v6.0.2 @@ -55,6 +56,7 @@ jobs: pre-commit type:maintenance delete-branch: true + draft: true - name: Write to job summary run: | cat updates.log >> $GITHUB_STEP_SUMMARY