Repository navigation
deps: bump proxy-addr to 2.0.8 (GHSA-jqcg-44mw-7w3h) #917
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 | |
| # Enables GitHub auto-merge for low-risk Dependabot PRs. Combined with the `cooldown` | |
| # settings in .github/dependabot.yml, a PR is only opened after the package has been | |
| # public for the cooldown window, so auto-merge always happens AFTER that delay. | |
| # | |
| # Scope: semver-minor and semver-patch updates only (any ecosystem). Major bumps are | |
| # intentionally excluded so they are reviewed and merged manually. | |
| on: pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| auto-merge: | |
| runs-on: ubuntu-latest | |
| if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Fetch Dependabot metadata | |
| id: metadata | |
| uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0 | |
| with: | |
| github-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Enable auto-merge for minor and patch updates | |
| if: >- | |
| steps.metadata.outputs.update-type == 'version-update:semver-minor' || | |
| steps.metadata.outputs.update-type == 'version-update:semver-patch' | |
| run: gh pr merge --auto --squash "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |