build(deps): bump actions/checkout from 3 to 4 #448
Workflow file for this run
This file contains 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 | ||
permissions: | ||
contents: write | ||
jobs: | ||
dependabot: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Dependabot metadata | ||
id: metadata | ||
uses: dependabot/[email protected] | ||
- name: Auto-merge patches | ||
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }} | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
GH_TOKEN: ${{ secrets.DEPENDABOT_NODE_TOKEN }} | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
- name: Auto-merge dev-deps | ||
if: ${{ steps.dependabot-metadata.outputs.dependency-type == "direct:development" && steps.metadata.outputs.update-type == 'version-update:semver-minor' }} | ||
Check failure on line 27 in .github/workflows/merge-dependabot.yml GitHub Actions / Dependabot auto-mergeInvalid workflow file
|
||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
GH_TOKEN: ${{ secrets.DEPENDABOT_NODE_TOKEN }} | ||
PR_URL: ${{github.event.pull_request.html_url}} |