Skip to content

Commit 4605a5c

Browse files
authored
ci: bump PAT expiry threshold from 30 to 45 days (#133)
A 31-day month means the check on the 1st could see 31 days remaining and skip the reminder entirely, only alerting on the expiry day itself. 45 days gives a comfortable buffer regardless of month length. Signed-off-by: Sebastien Tardif <sebtardif@ncf.ca>
1 parent 049d884 commit 4605a5c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/pat-expiry.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jobs:
3535
3636
echo "VSCE_PAT expires: $expires ($days_left days from now)"
3737
38-
if [ "$days_left" -gt 30 ]; then
39-
echo "More than 30 days remaining. No action needed."
38+
if [ "$days_left" -gt 45 ]; then
39+
echo "More than 45 days remaining. No action needed."
4040
exit 0
4141
fi
4242

0 commit comments

Comments
 (0)