Skip to content

🩹 [Patch]: Nightly runs and use GitHub-Script#65

Merged
Marius Storhaug (MariusStorhaug) merged 5 commits intomainfrom
nightly
Jan 11, 2025
Merged

🩹 [Patch]: Nightly runs and use GitHub-Script#65
Marius Storhaug (MariusStorhaug) merged 5 commits intomainfrom
nightly

Conversation

@MariusStorhaug
Copy link
Copy Markdown
Member

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

Description

This pull request includes several changes to GitHub Actions workflows and PowerShell scripts to improve automation and error handling. The most important changes include adding a schedule trigger to the Action-Test workflow, removing unnecessary environment variables, and updating the PowerShell script to use a more robust library installation method.

Changes to GitHub Actions workflows:

  • .github/workflows/Action-Test.yml: Added a schedule trigger to the workflow to run it daily at midnight.
  • .github/workflows/Action-Test.yml and .github/workflows/Auto-Release.yml: Removed the GITHUB_TOKEN environment variable from the job definitions. [1] [2]

Changes to PowerShell scripts:

  • action.yml: Updated the Auto-Release step to use the PSModule/GitHub-Script@v1 action instead of a PowerShell shell command.
  • scripts/main.ps1: Implemented a retry mechanism for installing PowerShell modules to handle transient errors more effectively.
  • scripts/main.ps1: Replaced Start-LogGroup and Stop-LogGroup with LogGroup blocks to simplify logging. [1] [2] [3] [4] [5] [6] [7]

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 Nightly 🩹 [Patch]: Nightly runs and use GitHub-Script Jan 11, 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