Skip to content

Commit 2e660de

Browse files
committed
another fix
1 parent af08baa commit 2e660de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/trademark-cla-approval.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ jobs:
232232
comment.body.includes('Trademark addendum agreement confirmed ✅')
233233
);
234234
235+
const method = isCommentApproval ? 'Self-signed agreement' :
236+
(context.eventName === 'workflow_dispatch' ? 'Manual approval' : 'Label approval');
237+
235238
if (!confirmationExists) {
236-
const method = isCommentApproval ? 'Self-signed agreement' :
237-
(context.eventName === 'workflow_dispatch' ? 'Manual approval' : 'Label approval');
238-
239239
await github.rest.issues.createComment({
240240
owner: context.repo.owner,
241241
repo: context.repo.repo,

0 commit comments

Comments
 (0)