Skip to content

Commit 17b93ed

Browse files
committed
Return after expiration
1 parent 1b156be commit 17b93ed

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

badges/coverage.svg

Lines changed: 1 addition & 1 deletion
Loading

dist/index.js

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,12 @@ export async function run(): Promise<void> {
2222
return core.info(`Ignoring Action: ${eventName} / ${payload.action}`)
2323

2424
// The expire action always takes precedence.
25-
if (action === AllowedIssueAction.EXPIRE) await actions.expire()
25+
if (action === AllowedIssueAction.EXPIRE) {
26+
core.info(`Processing Action: ${action}`)
27+
await actions.expire()
28+
29+
return
30+
}
2631

2732
try {
2833
core.info(`Processing Action: ${action}`)

0 commit comments

Comments
 (0)