Skip to content

chore(deps-dev): bump rollup from 3.28.1 to 3.29.1 #143

chore(deps-dev): bump rollup from 3.28.1 to 3.29.1

chore(deps-dev): bump rollup from 3.28.1 to 3.29.1 #143

name: dependabot-auto-merge
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v2
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}