Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 in the github-actions group #13

Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 in the github-actions group

Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 in the github-actions group #13

Workflow file for this run

name: Dependabot auto-merge
on:
pull_request:
types:
- opened
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
name: Auto-Merge
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4.0
with:
github-token: ${{ secrets.WORKFLOWS_TOKEN }}
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.WORKFLOWS_TOKEN }}
- name: Enable auto-merge for Dependabot PRs
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 }}
GITHUB_TOKEN: ${{ secrets.WORKFLOWS_TOKEN }}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.