We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2783aa5 + 011652d commit 0565726Copy full SHA for 0565726
gateway/gateway.py
@@ -290,7 +290,7 @@ def remove_expired_refs(actions: ActionsYAML):
290
refs_to_remove.extend(
291
(name, ref)
292
for ref, details in action.items()
293
- if "expires_at" in details and details["expires_at"] <= date.today() and not details.get("keep")
+ if details and "expires_at" in details and details["expires_at"] <= date.today() and not details.get("keep")
294
)
295
296
# Changing the iterable during iteration raises a RuntimeError
0 commit comments