Automerge needs to checkout repo

This commit is contained in:
Barry Gordon
2021-06-21 11:26:00 +01:00
committed by GitHub
parent 3646e5d1bb
commit 4632eebdeb

View File

@@ -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: