This repository was archived by the owner on May 13, 2026. It is now read-only.
chore(deps): update all non-major dependencies to v0.10.8 #1170
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: | |
| branches: [main] | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }} | |
| jobs: | |
| dependabot: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| if: ${{ github.actor == 'dependabot[bot]' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - id: metadata | |
| uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2 | |
| - name: log metadata | |
| run: echo "${DEPENDABOT_METADATA}" | |
| env: | |
| DEPENDABOT_METADATA: ${{ toJson(steps.metadata.outputs) }} | |
| - name: automerge | |
| if: ${{ !contains(steps.metadata.outputs.update-type, 'major' ) }} | |
| run: gh pr merge "${PR_NUMBER}" --auto --squash | |
| env: | |
| GH_REPO: ${{ github.repository }} | |
| GH_TOKEN: ${{ github.token }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| pre-commit-ci: | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| if: ${{ github.event.pull_request.user.login == 'pre-commit-ci[bot]' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: automerge | |
| run: gh pr merge "${PR_NUMBER}" --auto --squash | |
| env: | |
| GH_REPO: ${{ github.repository }} | |
| GH_TOKEN: ${{ github.token }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} |