Skip to content

remove crufty conditional #10

remove crufty conditional

remove crufty conditional #10

Workflow file for this run

name: Bot auto-merge
on: pull_request # yamllint disable-line rule:truthy
permissions:
contents: write
pull-requests: write
jobs:
autobot:
runs-on: ubuntu-latest
if: (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]') && github.repository == 'mne-tools/mne-connectivity'
steps:
- name: Enable auto-merge for bot PRs
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}