Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 5, 2026

Summary

  • Prevent repo linting from running on merges to main when the required ref is unavailable.
  • Aligns workflow behavior with expected linting triggers.

Changes

  • Update repo linting conditions to avoid merge-to-main executions that lack the necessary ref.

Testing

  • Not run (workflow-only change).

Copilot AI and others added 4 commits January 5, 2026 23:04
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Copilot AI changed the title [WIP] Consolidate test setup and teardown tasks Add BeforeAll/AfterAll scripts for centralized test resource cleanup Jan 5, 2026
Copilot AI requested a review from MariusStorhaug January 5, 2026 23:14
- Created TEMPLATE.ps1 for structuring tests with Pester.
- Implemented Teams.Tests.ps1 to test GitHub Teams API functionalities including team creation, retrieval, updating, and deletion.
- Developed Users.Tests.ps1 to validate user-related API calls, including user retrieval and updates.
- Added Variables.Tests.ps1 to test GitHub variable management across different scopes (organization, repository, environment).
- Included necessary suppressions for Pester warnings and established logging for better output visibility during test execution.
- Created TEMPLATE.ps1 for structuring Pester tests with common setup.
- Implemented Teams.Tests.ps1 to test GitHub Teams API functionalities including team creation, retrieval, updating, and deletion.
- Developed Users.Tests.ps1 to validate user-related API calls, including user retrieval and updates.
- Added Variables.Tests.ps1 to test GitHub repository and organization variable management, including creation, updating, and removal of variables.
@MariusStorhaug MariusStorhaug changed the title Add BeforeAll/AfterAll scripts for centralized test resource cleanup Fix: skip repo linting on merge to main Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants