Skip to content

Commit

Permalink
Annotation for valid certs
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornoleh committed Jan 9, 2025
1 parent 8a00ceb commit 45d1aa0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/check_certs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ jobs:
echo "Certificate status file not found. Defaulting to false."
echo "new_certificate_needed=false" >> $GITHUB_OUTPUT
fi
# Check if certs are valid
if [ "$CERT_STATUS" != "true" ]; then
echo "::notice::✅ Distribution certificate is present and valid. No action required."
fi
# Check if ENABLE_NUKE_CERTS is not set to true when certs are valid
if [ "$CERT_STATUS" != "true" ] && [ "$ENABLE_NUKE_CERTS" != "true" ]; then
echo "::notice::🔔 Automated renewal of certificates is disabled because the repository variable ENABLE_NUKE_CERTS is not set to 'true'."
Expand Down

0 comments on commit 45d1aa0

Please sign in to comment.