Skip to content

Commit d3ea79f

Browse files
authored
Merge 101438e into 32864a3
2 parents 32864a3 + 101438e commit d3ea79f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Bot auto-merge
2+
on: pull_request # yamllint disable-line rule:truthy
3+
4+
permissions:
5+
contents: write
6+
pull-requests: write
7+
8+
jobs:
9+
autobot:
10+
runs-on: ubuntu-latest
11+
if: (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]') && github.repository == 'pyiron/executorlib'
12+
steps:
13+
- name: Enable auto-merge for bot PRs
14+
run: gh pr merge --auto --squash "$PR_URL"
15+
env:
16+
PR_URL: ${{github.event.pull_request.html_url}}
17+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)