File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 actions :
99 patterns :
1010 - " *"
11+ commit-message :
12+ prefix : " [dependabot]"
13+ cooldown :
14+ default-days : 7
Original file line number Diff line number Diff line change 11name : Bot auto-merge
2- on : pull_request # yamllint disable-line rule:truthy
2+ on : pull_request_target # yamllint disable-line rule:truthy
3+
4+ permissions :
5+ contents : write
6+ pull-requests : write
37
48jobs :
59 autobot :
6- permissions :
7- contents : write
8- pull-requests : write
910 runs-on : ubuntu-latest
10- # Names can be found with gh api /repos/mne-tools/mne-python/pulls/12998 -q .user.login for example
11- if : (github.event.pull_request.user.login == 'dependabot[bot]' || github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'github-actions[bot]') && github.repository == 'mne-tools/mne-realtime'
11+ if : github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'mne-tools/mne-realtime'
1212 steps :
1313 - name : Enable auto-merge for bot PRs
1414 run : gh pr merge --auto --squash "$PR_URL"
1515 env :
1616 PR_URL : ${{github.event.pull_request.html_url}}
17- GH_TOKEN : ${{secrets.GITHUB_TOKEN }}
17+ GH_TOKEN : ${{secrets.MNE_BOT_TOKEN }}
You can’t perform that action at this time.
0 commit comments