chore(deps): bump coverage from 7.15.2 to 7.15.3 #1034
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: Dependabot auto-merge (GitHub native) | |
| on: | |
| pull_request_target: | |
| types: [opened, reopened, synchronize, ready_for_review] | |
| permissions: | |
| pull-requests: write | |
| contents: write | |
| jobs: | |
| enable-automerge: | |
| if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' && !github.event.pull_request.draft }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Fetch Dependabot metadata | |
| id: meta | |
| uses: dependabot/fetch-metadata@v2 | |
| with: | |
| github-token: ${{ secrets.AUTO_MERGE_DEPENDABOT }} | |
| - name: Approve PR (only if required by branch rules) | |
| if: ${{ steps.meta.outputs.update-type != 'version-update:semver-major' }} | |
| run: gh pr review "$PR_NUMBER" --approve --repo "$GITHUB_REPOSITORY" | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| GH_TOKEN: ${{ secrets.AUTO_MERGE_DEPENDABOT }} | |
| - name: Enable auto-merge (squash) | |
| if: ${{ steps.meta.outputs.update-type != 'version-update:semver-major' }} | |
| run: gh pr merge "$PR_NUMBER" --squash --auto --repo "$GITHUB_REPOSITORY" | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| GH_TOKEN: ${{ secrets.AUTO_MERGE_DEPENDABOT }} |