chore: inline self-contained house Renovate config #3
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 | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| automerge: | |
| if: github.event.pull_request.user.login == 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 5 | |
| steps: | |
| - name: Fetch Dependabot metadata | |
| id: meta | |
| uses: dependabot/fetch-metadata@v2.4.0 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| # Auto-merge minor and patch updates only — major updates go to a | |
| # human review queue. github-actions and dev-only npm minor/patch are | |
| # the safest categories and historically clean every time CI passes. | |
| - name: Enable auto-merge for safe updates | |
| if: | | |
| steps.meta.outputs.update-type == 'version-update:semver-minor' || | |
| steps.meta.outputs.update-type == 'version-update:semver-patch' | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: gh pr merge --auto --squash "$PR_URL" |