diff --git a/.copier-answers.ci.yml b/.copier-answers.ci.yml index 5d8b43dd..ac91eb2f 100644 --- a/.copier-answers.ci.yml +++ b/.copier-answers.ci.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier; NEVER EDIT MANUALLY -_commit: d591235 +_commit: 31c31e8 _src_path: gh:athackst/ci bump_script_path: .github/bump.sh release_template: "# Get it\n\n ## Python\n\n Install it with pip\n\n ```bash\n\ diff --git a/.github/workflows/pr_automerge.yml b/.github/workflows/pr_automerge.yml index 396b1f21..89b15555 100644 --- a/.github/workflows/pr_automerge.yml +++ b/.github/workflows/pr_automerge.yml @@ -19,6 +19,7 @@ concurrency: jobs: pr-automerge: + if: ${{ github.event.pull_request.state == 'open' }} permissions: contents: write pull-requests: write diff --git a/.github/workflows/pr_bump.yml b/.github/workflows/pr_bump.yml index e0deee36..9428090b 100644 --- a/.github/workflows/pr_bump.yml +++ b/.github/workflows/pr_bump.yml @@ -11,7 +11,7 @@ on: jobs: pr-bump: - if: ${{ github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} + if: ${{ github.event.pull_request.state == 'open' && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} permissions: contents: write pull-requests: write