martin/.github/workflows/dependabot.yml
dependabot[bot] f8b5d36b7d
chore(deps): Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 (#732)
Bumps
[dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata)
from 1.5.1 to 1.6.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dependabot/fetch-metadata/releases">dependabot/fetch-metadata's
releases</a>.</em></p>
<blockquote>
<h2>v1.6.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>.vscode</code> folder to <code>.gitignore</code> by <a
href="https://github.com/timothy-humphrey"><code>@​timothy-humphrey</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/385">dependabot/fetch-metadata#385</a></li>
<li>Support for Grouped Updates by <a
href="https://github.com/Nishnha"><code>@​Nishnha</code></a> in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/396">dependabot/fetch-metadata#396</a></li>
<li>v1.6.0 by <a
href="https://github.com/fetch-metadata-action-automation"><code>@​fetch-metadata-action-automation</code></a>
in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/403">dependabot/fetch-metadata#403</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/timothy-humphrey"><code>@​timothy-humphrey</code></a>
made their first contribution in <a
href="https://redirect.github.com/dependabot/fetch-metadata/pull/385">dependabot/fetch-metadata#385</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/dependabot/fetch-metadata/compare/v1...v1.6.0">https://github.com/dependabot/fetch-metadata/compare/v1...v1.6.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c9c4182bf1"><code>c9c4182</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/403">#403</a>
from dependabot/bump-to-v1.6.0</li>
<li><a
href="aa6ff64b72"><code>aa6ff64</code></a>
v1.6.0</li>
<li><a
href="62c4c8daf6"><code>62c4c8d</code></a>
Merge pull request <a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/396">#396</a>
from dependabot/nishnha/grouped-updates-support</li>
<li><a
href="11c0ea46b8"><code>11c0ea4</code></a>
build</li>
<li><a
href="b8e8f8c79b"><code>b8e8f8c</code></a>
Pull the group name from commit metadata</li>
<li><a
href="b534cb5e81"><code>b534cb5</code></a>
FIXME: prevVersion and newVersion are blank for grouped updates</li>
<li><a
href="9e8fb5b31b"><code>9e8fb5b</code></a>
Add tests for grouped updates</li>
<li><a
href="b3648a31bd"><code>b3648a3</code></a>
Use commit data to infer dependency groups instead of the PR body</li>
<li><a
href="cfab22f699"><code>cfab22f</code></a>
Add dependency group metadata</li>
<li><a
href="73e8a46e9e"><code>73e8a46</code></a>
Add <code>.vscode</code> folder to <code>.gitignore</code> (<a
href="https://redirect.github.com/dependabot/fetch-metadata/issues/385">#385</a>)</li>
<li>See full diff in <a
href="https://github.com/dependabot/fetch-metadata/compare/v1.5.1...v1.6.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dependabot/fetch-metadata&package-manager=github_actions&previous-version=1.5.1&new-version=1.6.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-28 02:15:12 -04:00

28 lines
944 B
YAML

name: Dependabot auto-merge
on: pull_request
permissions: write-all
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve Dependabot PRs
if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
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-patch'}}
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}