Skip to content

Commit 05e525d

Browse files
committed
fix(ci): read workflow dry-run input from event payload
1 parent d40d0d4 commit 05e525d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-author-inactivity.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
const REMINDER_MARKER = '<!-- pr-author-inactivity:reminder -->';
5656
const REMINDER_MS = 72 * 60 * 60 * 1000;
5757
const CLOSE_MS = 120 * 60 * 60 * 1000;
58-
const DRY_RUN = core.getBooleanInput('dry_run');
58+
const DRY_RUN = String(context.payload.inputs?.dry_run || 'false').toLowerCase() === 'true';
5959
6060
function ts(value) {
6161
return value ? new Date(value).getTime() : 0;

0 commit comments

Comments
 (0)