Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Rename to `.env` (or `.env.local`) and customize as needed

# Custom environment mode for scripts and tooling
# One of: dev, test, ci, preview, production
# One of: dev, test, ci, audit, production
ENV_MODE=dev

# Optional: API keys or tokens for local dev (never commit real values)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ on:
jobs:
auto-assign:
runs-on: ubuntu-24.04
env:
ENV_MODE: ci

steps:
- name: 'Auto-assign issue or PR'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/backup-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
name: Sync backup/nightly-snapshot to master
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
env:
ENV_MODE: ci

steps:
- name: Checkout master branch
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

#- name: Show Node.js and npm versions
# run: |
# echo "Node.js version: $(node -v)"
# echo "npm version: $(npm -v)"

- name: Upgrade npm
run: |
corepack enable
Expand Down Expand Up @@ -132,11 +127,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

#- name: Show Node.js and npm versions
# run: |
# echo "Node.js version: $(node -v)"
# echo "npm version: $(npm -v)"

- name: Upgrade npm
run: |
corepack enable
Expand Down Expand Up @@ -193,11 +183,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

#- name: Show Node.js and npm versions
# run: |
# echo "Node.js version: $(node -v)"
# echo "npm version: $(npm -v)"

- name: Upgrade npm
run: |
corepack enable
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/check-security-txt-expiry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
check-expiry:
runs-on: ubuntu-latest
name: Validate .well-known/security.txt expiration
env:
ENV_MODE: ci

steps:
- name: Checkout repo
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ permissions:
jobs:
dependency-review:
runs-on: ubuntu-24.04
env:
ENV_MODE: ci

steps:
- name: 'Checkout Repository'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/meta-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ permissions:
jobs:
meta:
runs-on: ubuntu-24.04
env:
ENV_MODE: ci

steps:
- name: Checkout repo
uses: actions/checkout@v5
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/prevent-audit-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ permissions:
jobs:
check-branch:
runs-on: ubuntu-24.04
env:
ENV_MODE: ci

steps:
- name: Fail if source is audit-netlify
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
issues: write
env:
CODEQL_ACTION_ANALYSIS_KEY: gitleaks
ENV_MODE: ci

steps:
# ---------------------------------------------------------------------
# Checkout the full repo history (needed for Gitleaks to scan all commits)
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/templates/check-codeql.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
check:
name: Check CodeQL Status
runs-on: ubuntu-24.04
env:
ENV_MODE: ci

steps:
- name: Check CodeQL Workflow
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/templates/publish.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

#- name: Show Node.js and npm versions
# run: |
# echo "Node.js version: $(node -v)"
# echo "npm version: $(npm -v)"

- name: Upgrade npm
run: |
corepack enable
Expand Down Expand Up @@ -136,11 +131,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

#- name: Show Node.js and npm versions
# run: |
# echo "Node.js version: $(node -v)"
# echo "npm version: $(npm -v)"

- name: Upgrade npm
run: |
corepack enable
Expand Down Expand Up @@ -197,11 +187,6 @@ jobs:
cache: npm
cache-dependency-path: package-lock.json

#- name: Show Node.js and npm versions
# run: |
# echo "Node.js version: $(node -v)"
# echo "npm version: $(npm -v)"

- name: Upgrade npm
run: |
corepack enable
Expand Down
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,34 @@ This project attempts to follow [Keep a Changelog](https://keepachangelog.com/en

---

## [1.25.10] - 2025-11-12

### Changed

- Updated GitHub workflows to specify `ENV: ci` where appropriate:
- `templates/check-codeql.template.yml`
- `templates/publish.template.yml`
- `auto-assign.yml`
- `branch-backup.yml`
- `check-security-txt-expiry.yml`
- `dependency-review.yml`
- `meta-check.yml`
- `prevent-audit-merges.yml`
- `secret-scan.yml`
- Added `@sveltejs/adapter-netlify` devDependency for smoother toggling between production and audit modes.
- Production uses `@sveltejs/adapter-vercel` only. `@sveltejs/adapter-netlify` exists solely to support the audit environment.
- Bumped project version to `v1.25.10`.
- Updated dependencies:
- `@testing-library/svelte` `^5.2.8` → `^5.2.9`
- `eslint-plugin-jsdoc` `^61.1.12` → `^61.2.0`
- `posthog-js` `^1.290.0` → `^1.292.0`

## Removed

- Removed unneeded comments in `build-and-publish.yml` workflow.

---

## [1.25.9] - 2025-11-11

### Changed
Expand Down Expand Up @@ -1827,7 +1855,8 @@ This enables analytics filtering and CSP hardening for the audit environment.

<!-- Link references -->

[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.25.9...HEAD
[Unreleased]: https://github.com/netwk-pro/netwk-pro.github.io/compare/v1.25.10...HEAD
[1.25.10]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.10
[1.25.9]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.9
[1.25.8]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.8
[1.25.7]: https://github.com/netwk-pro/netwk-pro.github.io/releases/tag/v1.25.7
Expand Down
89 changes: 56 additions & 33 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading