File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 2424 - run : ncc build index.js
2525 env :
2626 NODE_OPTIONS : " --openssl-legacy-provider"
27- - uses : autofix-ci/action@551dded8c6cc8a1054039c8bc0b8b48c51dfc6ef
27+ - uses : autofix-ci/action@v1.3.1
Original file line number Diff line number Diff line change 1+ # Adapted from MNE-Python
2+ name : Bot auto-merge
3+ on : pull_request # yamllint disable-line rule:truthy
4+
5+ jobs :
6+ autobot :
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+ runs-on : ubuntu-latest
11+ # Names can be found with gh api /repos/mne-tools/mne-python/pulls/12998 -q .user.login for example
12+ 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 == 'scientific-python/circleci-artifacts-redirector-action'
13+ steps :
14+ - name : Enable auto-merge for bot PRs
15+ run : gh pr merge --auto --squash "$PR_URL"
16+ env :
17+ PR_URL : ${{github.event.pull_request.html_url}}
18+ GH_TOKEN : ${{secrets.GITHUB_TOKEN}}
You can’t perform that action at this time.
0 commit comments