Skip to content

Commit d77ae16

Browse files
authored
Merge pull request #725 from nextcloud/fix/automerge
fix: correctly use `github.event.action` to fetch the type of event
2 parents 191c064 + 8240ae3 commit d77ae16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

workflow-templates/renovate-approve-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ jobs:
5454
# Enable GitHub auto merge
5555
- name: Auto merge
5656
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # 2.0.0
57-
if: startsWith(steps.branchname.outputs.branch, 'renovate/') && (github.event.pull_request.action == 'opened' || github.event.pull_request.action == 'reopened')
57+
if: startsWith(steps.branchname.outputs.branch, 'renovate/') && (github.event.action == 'opened' || github.event.action == 'reopened')
5858
with:
5959
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)