build(deps-dev): bump the dependencies group across 1 directory with 8 updates #478
Workflow file for this run
This file contains 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: auto-merge | |
on: | |
pull_request_target: | |
types: | |
- opened | |
permissions: | |
pull-requests: write | |
contents: write | |
jobs: | |
auto-merge: | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dependabot metadata | |
id: dependabot-metadata | |
uses: dependabot/[email protected] | |
with: | |
github-token: ${{ secrets.PUSH_TOKEN }} | |
- name: Approve Pull Request | |
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | |
run: gh pr review -R "${{ github.repository }}" --approve "${{ github.event.pull_request.number }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }} | |
- name: Enable auto-merge for Dependabot PRs | |
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }} | |
run: gh pr merge -R "${{ github.repository }}" --merge --auto "${{ github.event.pull_request.number }}" | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }} |