Skip to content

commit: Sync main with develop - Infrastructure & DevOps Modernization#19

Merged
thetechgy merged 47 commits into
mainfrom
develop
Mar 6, 2026
Merged

commit: Sync main with develop - Infrastructure & DevOps Modernization#19
thetechgy merged 47 commits into
mainfrom
develop

Conversation

@thetechgy
Copy link
Copy Markdown
Owner

This comprehensive update brings main branch to parity with develop,
introducing significant improvements to the repository's development,
testing, and operational infrastructure.

🔧 Major Changes:

  1. DEVELOPMENT ENVIRONMENT

    • Added VS Code devcontainer (Wolfi-based, PowerShell 7.5.4)
    • Codex policy configuration (.codex/) with strict sandboxing
    • Hardened Docker runtime with non-root user (vscode)
    • AI tooling support (Codex, Claude) with optional disable flag
  2. CI/CD PIPELINE OVERHAUL

    • Replaced legacy ci-cd-pipeline.yml with new ci.yml
    • PSScriptAnalyzer analysis job (Ubuntu 24.04)
    • Dual Pester test jobs: Windows PowerShell 5.1 + PowerShell 7
    • Added Dependency Review workflow (supply-chain security)
    • Added OSSF Scorecard for security posture tracking
  3. CODE QUALITY & STANDARDS

    • PSScriptAnalyzerSettings.psd1: New comprehensive policy
      • Enforces PS 5.1 + PS 7 compatibility
      • Security rules (no Invoke-Expression, no plaintext secrets)
      • Team consistency (indentation, casing, cmdlet usage)
    • Updated .editorconfig with granular per-filetype rules
    • Enhanced .gitattributes for cross-platform consistency
  4. CONFIGURATION MANAGEMENT

    • Updated Dependabot to GitHub Actions ecosystem (from NuGet)
    • Weekly schedule (Mondays, 9 AM EST) with PR grouping
    • Added CODEOWNERS for .github/ approval routing
  5. REPOSITORY META

    • Refreshed .gitignore (Pester output, test results, .env files)
    • Updated .markdownlint.jsonc for flexible markdown linting
    • Streamlined VS Code settings and extension recommendations
    • Removed legacy ArchiTechLabs-Script-Hub.code-workspace
  6. DOCUMENTATION

    • Added .devcontainer/README.md (172 lines of guidance)
    • Updated main README.md with CI/Dependabot/PowerShell badges

✨ Benefits:

  • Consistent tooling across dev and CI environments
  • Strong isolation boundaries via strict Codex policies
  • Cross-platform test coverage (Windows PS 5.1 & 7)
  • Reduced security risk with sandboxing and dependency scanning
  • Faster onboarding with devcontainer automation
  • Transparent code quality via GitHub Actions artifacts

🔒 Security Enhancements:

  • Hardened devcontainer runtime (cap-drop=ALL, no-new-privileges)
  • Restricted Codex execution model (untrusted, workspace-write)
  • Dependency Review for vulnerable package detection
  • OSSF Scorecard for supply-chain posture

⚠️ Migration Notes:

  • CI now runs on develop + main branches (not just main)
  • Pester test paths: modules//Tests and scripts//Tests
  • PSScriptAnalyzer uses repo-managed settings file
  • Ignore noisy log messages from devcontainer startup (harmless)

BREAKING CHANGES: None for end users. Legacy ci-cd-pipeline.yml removed.

thetechgy and others added 30 commits November 5, 2025 23:20
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
…urity-remediation

[StepSecurity] Apply security best practices
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@ea165f8...b7c566a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.0 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@62b2cac...4eaacf0)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.7.0 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v2.7.0...de0fac2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.31.9 to 4.32.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@45c3735...b20883b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@20cf305...e3f713f)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…s/upload-artifact-6.0.0

Bump actions/upload-artifact from 4.6.2 to 6.0.0
…corecard-action-2.4.3

Bump ossf/scorecard-action from 2.4.0 to 2.4.3
…ns/checkout-6.0.2

Bump actions/checkout from 2.7.0 to 6.0.2
…b/codeql-action-4.32.0

Bump github/codeql-action from 3.31.9 to 4.32.0
…security/harden-runner-2.14.1

Bump step-security/harden-runner from 2.14.0 to 2.14.1
This README provides an overview of the development container setup for PowerShell development, including configuration details, security controls, and usage instructions.
Add configuration settings for Codex model and profiles.
Document the strict Codex approval policy for workspace safety, including intent, limitations, and expected commands.
Updated recommended extensions for VS Code.
Removed several editor settings and added new configurations for icon theme, AI features, and Git blame settings.
Expanded .gitignore to include various OS-specific files, VS Code configurations, PowerShell artifacts, test outputs, coverage files, and temporary files.
thetechgy and others added 17 commits March 6, 2026 13:20
Added GitHub Actions configuration for Dependabot updates, specifying schedule, labels, and grouping for minor, patch, and major updates.
Bumps the github-actions-minor-patch group with 3 updates: [step-security/harden-runner](https://github.com/step-security/harden-runner), [actions/dependency-review-action](https://github.com/actions/dependency-review-action) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `step-security/harden-runner` from 2.14.1 to 2.15.1
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@e3f713f...58077d3)

Updates `actions/dependency-review-action` from 4.8.2 to 4.9.0
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@3c4e3dc...2031cfc)

Updates `github/codeql-action` from 4.32.0 to 4.32.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@b20883b...0d579ff)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.15.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-minor-patch
- dependency-name: actions/dependency-review-action
  dependency-version: 4.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-minor-patch
- dependency-name: github/codeql-action
  dependency-version: 4.32.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@b7c566a...bbbca2d)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Add CODEOWNERS file to specify repository owners.
Updated CI/CD pipeline to include PSScriptAnalyzer and Pester testing for both PowerShell 5.1 and PowerShell 7. Added conditions for running on pull requests and pushes to specific branches.
…op/actions/upload-artifact-7.0.0

chore(deps): bump actions/upload-artifact from 6.0.0 to 7.0.0
Updated CI workflow to simplify configuration and ensure consistent runner hardening across all jobs.
Updated CI workflow to include PSScriptAnalyzer and Pester tests for both Windows PowerShell 5.1 and PowerShell 7. Adjusted runner settings and module installation steps.
…op/github-actions-minor-patch-01d8e432fa

chore(deps): bump the github-actions-minor-patch group with 3 updates
Bumps the github-actions-minor-patch group with 1 update: [step-security/harden-runner](https://github.com/step-security/harden-runner).


Updates `step-security/harden-runner` from 2.14.1 to 2.15.1
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](step-security/harden-runner@v2.14.1...58077d3)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.15.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6.0.0 to 7.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v6...bbbca2d)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@thetechgy thetechgy self-assigned this Mar 6, 2026
@github-advanced-security
Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out
the documentation.

@thetechgy thetechgy merged commit 5a635fe into main Mar 6, 2026
9 checks passed
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.

3 participants