Skip to content

Commit 5705c0d

Browse files
committed
Workflow and Security Updates
1 parent a2df25d commit 5705c0d

2 files changed

Lines changed: 79 additions & 0 deletions

File tree

.github/workflows/env-matrix.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
description: |
2+
3+
name: Environment Compatibility Matrix
4+
5+
on:
6+
push:
7+
branches: [ "🌕Nextgen", "📦Current" ]
8+
pull_request:
9+
branches: [ "🌕Nextgen", "📦Current" ]
10+
11+
jobs:
12+
matrix-test:
13+
name: Env: ${{ matrix.os }} | Shell: ${{ matrix.shell }} | Admin: ${{ matrix.admin }} | Locale: ${{ matrix.locale }}
14+
runs-on: ${{ matrix.os }}
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os: [windows-2019, windows-2022]
19+
shell: [pwsh, powershell]
20+
admin: [true, false]
21+
locale: [en-US, de-DE]
22+
steps:
23+
24+
25+
- name: Set locale
26+
run: |
27+
Set-WinSystemLocale ${{ matrix.locale }}
28+
shell: powershell
29+
continue-on-error: true
30+
31+
- name: Run as admin (if required)
32+
if: ${{ matrix.admin == 'true' }}
33+
Start-Process -FilePath ${{ matrix.shell }} -ArgumentList '-NoProfile -ExecutionPolicy Bypass -File windows-telemetry-blocker.ps1 -dryrun' -Verb RunAs
34+
shell: powershell
35+
continue-on-error: true
36+
37+
- name: Run as non-admin (if required)
38+
if: ${{ matrix.admin == 'false' }}
39+
run: |
40+
${{ matrix.shell }} -NoProfile -ExecutionPolicy Bypass -File windows-telemetry-blocker.ps1 -dryrun
41+
shell: powershell
42+
continue-on-error: true
43+
44+
- name: Upload logs and report
45+
uses: actions/upload-artifact@v4
46+
with:
47+
name: logs-${{ matrix.os }}-${{ matrix.shell }}-${{ matrix.admin }}-${{ matrix.locale }}
48+
path: |
49+
telemetry-blocker.log
50+
telemetry-blocker-errors.log
51+
telemetry-blocker-report.md
52+
if-no-files-found: ignore

SECURITY.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Security Policy
2+
3+
## Supported Versions
4+
- Only the latest release is actively supported for security updates.
5+
- Older versions may not receive security patches.
6+
7+
## Reporting a Vulnerability
8+
If you discover a security vulnerability, please do **not** open a public issue. Instead, report it privately:
9+
10+
- Email: security@n0thorizon.dev (or use GitHub's private vulnerability reporting)
11+
- Include a detailed description, steps to reproduce, and any relevant logs or screenshots.
12+
- We will respond as quickly as possible and coordinate a fix.
13+
14+
## Security Best Practices
15+
- Always download releases from the official repository.
16+
- Review scripts before running, especially if you modify them.
17+
- Run the script in a test environment before deploying to production systems.
18+
- Keep your system and PowerShell up to date.
19+
20+
## Disclosure Policy
21+
- We follow responsible disclosure. Vulnerabilities will be fixed promptly and disclosed after a patch is released.
22+
23+
## Hall of Fame
24+
- Security researchers who responsibly disclose vulnerabilities may be credited here (with permission).
25+
26+
---
27+
For any other security concerns, contact the maintainer directly.

0 commit comments

Comments
 (0)