switch to tomli for toml fallback #182
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: Automerge | |
| on: | |
| pull_request_target: | |
| jobs: | |
| automerge: | |
| name: Enable pull request automerge | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'dependabot[bot]' | |
| steps: | |
| - uses: alexwilson/enable-github-automerge-action@2.0.0 | |
| with: | |
| github-token: ${{ secrets.PERSONAL_TOKEN }} | |
| merge-method: REBASE | |
| autoapprove: | |
| name: Automatically approve pull request | |
| needs: [automerge] | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.user.login == 'pre-commit-ci[bot]' || github.event.pull_request.user.login == 'dependabot[bot]' | |
| steps: | |
| - uses: hmarr/auto-approve-action@v4 | |
| with: | |
| github-token: ${{ secrets.PERSONAL_TOKEN }} |