diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 44bd7df..9e0d19b 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -8,7 +8,7 @@ permissions: jobs: dependabot: runs-on: ubuntu-latest - if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'owner/my_repo' + if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'miraheze/python-functions' steps: - name: Dependabot metadata id: metadata @@ -16,7 +16,6 @@ jobs: with: github-token: "${{ secrets.GITHUB_TOKEN }}" - name: Enable auto-merge for Dependabot PRs - if: contains(steps.metadata.outputs.dependency-names, 'my-dependency') && steps.metadata.outputs.update-type == 'version-update:semver-patch' run: gh pr merge --auto --merge "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}}