Skip to content

Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 #2

Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0

Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 #2

Workflow file for this run

---
name: Dependabot CI
"on":
pull_request_target: {}
jobs:
dependabot_ci:

Check failure on line 7 in .github/workflows/dependabot_ci.yaml

View workflow run for this annotation

GitHub Actions / Dependabot CI

Invalid workflow file

The workflow is not valid. .github/workflows/dependabot_ci.yaml (Line: 7, Col: 3): The workflow must contain at least one job with no dependencies.
name: Dependabot CI
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
needs: lint
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Fetch PR metadata
uses: dependabot/fetch-metadata@v2.0.0
id: dependabot-metadata
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}
- name: Merge PR
run: gh pr merge --auto --squash "$PR_URL"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_URL: ${{ github.event.pull_request.html_url }}