[ENH] Add adjacency for cortical and volume labels #6248
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Bot auto-merge | |
| on: pull_request_target # yamllint disable-line rule:truthy | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| autobot: | |
| runs-on: ubuntu-latest | |
| # Only auto-merge bot PRs that should not need human judgment: dependabot | |
| # updates and the weekly `prek auto-update`. Others are left alone, e.g. the | |
| # spec_zero PR, which usually needs `mne/fixes.py` shim adjustments. | |
| if: >- | |
| github.repository == 'mne-tools/mne-python' && ( | |
| github.event.pull_request.user.login == 'dependabot[bot]' || | |
| ( | |
| github.event.pull_request.user.login == 'mne-bot' && | |
| github.event.pull_request.head.ref == 'prek_auto_update' | |
| ) | |
| ) | |
| 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.MNE_BOT_TOKEN}} |