chore: bump actions/checkout from 3 to 4 #1
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 GitHub Actions Auto Merge | ||
on: | ||
pull_request: | ||
paths: | ||
- '.github/workflows/**' | ||
branches: [ main ] | ||
permissions: | ||
pull-requests: write | ||
jobs: | ||
dependabot: | ||
Check failure on line 13 in .github/workflows/dependabot-github-actions-automerge.yml GitHub Actions / Dependabot GitHub Actions Auto MergeInvalid workflow file
|
||
runs-on: ubuntu-latest | ||
needs: build | ||
if: ${{ github.actor == 'dependabot[bot]' }} | ||
steps: | ||
- name: Dependabot metadata | ||
id: dependabot-metadata | ||
uses: dependabot/fetch-metadata@v2 | ||
- name: Enable auto-merge for Dependabot PRs | ||
if: ${{steps.dependabot-metadata.outputs.package-ecosystem == 'github_actions'}} | ||
run: gh pr merge --auto --merge "$PR_URL" | ||
env: | ||
PR_URL: ${{github.event.pull_request.html_url}} | ||
GH_TOKEN: ${{secrets.GITHUB_TOKEN}} |