From 4632eebdeba8ab6717cc0cd78f34fac83ef8e42e Mon Sep 17 00:00:00 2001 From: Barry Gordon <896971+brrygrdn@users.noreply.github.com> Date: Mon, 21 Jun 2021 11:26:00 +0100 Subject: [PATCH] Automerge needs to checkout repo --- .github/workflows/dependabot-auto-merge.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 570ceaf..3ed4df5 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -8,11 +8,15 @@ jobs: runs-on: ubuntu-latest if: ${{ github.actor == 'dependabot[bot]' }} steps: + - name: Check out code + uses: actions/checkout@v2 + - name: Fetch metadata id: metadata uses: ./ with: github-token: "${{ secrets.GITHUB_TOKEN }}" + - name: Auto-merge run: gh pr merge --auto --merge "$PR_URL" env: