Fix auto merge condition

This commit is contained in:
Gabriel Augendre 2023-01-30 15:15:59 +01:00
parent 8008a6a8c3
commit 657d30e153

View file

@ -38,7 +38,7 @@ jobs:
title: Update dependencies title: Update dependencies
delete-branch: true delete-branch: true
- name: Enable auto merge - name: Enable auto merge
if: steps.cpr.outputs.pull-request-operation == 'created' if: steps.create-pull-request.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v2 uses: peter-evans/enable-pull-request-automerge@v2
with: with:
# Can't use the fine-grained token here because they don't have access to the GraphQL API. # Can't use the fine-grained token here because they don't have access to the GraphQL API.