Skip to content

Commit 66eb9f1

Browse files
committed
Fix
1 parent 02f1858 commit 66eb9f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/Verify.Redist.Update.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,15 +131,15 @@ jobs:
131131
fi
132132
133133
- name: Enable PR automerge
134-
if: success() && env.ALLOW_AUTO_MERGE_REDIST_PR == 'true' && github.triggering_actor == 'rocketmodfixadmin'
134+
if: success() && env.ALLOW_AUTO_MERGE_REDIST_PR == 'true' && github.event.pull_request.user.login == 'rocketmodfixadmin'
135135
uses: peter-evans/enable-pull-request-automerge@v3
136136
with:
137137
token: ${{ secrets.PAT }}
138138
pull-request-number: ${{ github.event.pull_request.number }}
139139
merge-method: squash
140140

141141
- name: Auto-approve PR
142-
if: success() && env.ALLOW_AUTO_MERGE_REDIST_PR == 'true' && github.triggering_actor == 'rocketmodfixadmin'
142+
if: success() && env.ALLOW_AUTO_MERGE_REDIST_PR == 'true' && github.event.pull_request.user.login == 'rocketmodfixadmin'
143143
uses: hmarr/auto-approve-action@v4
144144
with:
145145
github-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)