Skip to content

🪲 [Fix]: Fix nightly run issues#66

Merged
Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom
debug
Jan 12, 2025
Merged

🪲 [Fix]: Fix nightly run issues#66
Marius Storhaug (MariusStorhaug) merged 3 commits intomainfrom
debug

Conversation

@MariusStorhaug
Copy link
Copy Markdown
Member

@MariusStorhaug Marius Storhaug (MariusStorhaug) commented Jan 12, 2025

Description

This pull request includes several changes to the scripts/main.ps1 file to enhance error handling and improve the script's behavior when it is not run for a pull request.

Error handling improvements:

  • Added a try block at the beginning of the script to encapsulate the main logic and a catch block at the end to throw any caught exceptions. [1] [2]

Behavior improvements for non-pull request events:

  • Added a check to determine if the event is not a pull request and exit the script with a warning message if it is not.

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug Marius Storhaug (MariusStorhaug) changed the title Debug 🪲 [Fix]: Fix nightly run issues Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant