Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 [Feature]: Add functionality to configure the action logging #30

Merged
merged 13 commits into from
Jan 22, 2025

Conversation

MariusStorhaug
Copy link
Member

@MariusStorhaug MariusStorhaug commented Jan 22, 2025

Description

This pull request introduces several changes to the GitHub Actions workflow and associated scripts to enhance debugging and initialization information. The key updates include adding new inputs for showing initialization and environment information, and restructuring scripts for better modularity and clarity.

Updates to action inputs:

  • action.yml: Added new inputs ShowInfo and ShowInit to provide options for showing environment and initialization information. [1] [2]

Script restructuring and enhancements:

  • scripts/init.ps1 (renamed from scripts/main.ps1): Refactored to include logic for showing initialization information and added debug statements for better traceability. [1] [2] [3] [4] [5]
  • scripts/info.ps1: New script added to display detailed information about the environment and GitHub context. Content moved from scripts/main.ps1 (now called scripts/init.ps1)
  • scripts/outputs.ps1: Updated to include debug statements and formatted output for better readability. [1] [2]

Documentation updates:

  • README.md: Updated to include descriptions for the new inputs ShowInfo and ShowInit.

Update action tests:

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 MariusStorhaug self-assigned this Jan 22, 2025
@MariusStorhaug MariusStorhaug merged commit 8ada046 into main Jan 22, 2025
37 checks passed
@MariusStorhaug MariusStorhaug deleted the silent branch January 22, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🚀[Feature]: Add functionality to run the action silently (no boilerplates)
1 participant