Skip to content

Commit f1262b0

Browse files
committed
Merge remote-tracking branch 'origin/master' into audit-netlify
2 parents 105cfff + 091de88 commit f1262b0

18 files changed

+201
-182
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Rename to `.env` (or `.env.local`) and customize as needed
66

77
# Custom environment mode for scripts and tooling
8-
# One of: dev, test, ci, preview, production
8+
# One of: dev, test, ci, audit, production
99
ENV_MODE=dev
1010

1111
# Optional: API keys or tokens for local dev (never commit real values)

.github/workflows/auto-assign.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ on:
2525
jobs:
2626
auto-assign:
2727
runs-on: ubuntu-24.04
28+
env:
29+
ENV_MODE: ci
2830

2931
steps:
3032
- name: 'Auto-assign issue or PR'

.github/workflows/backup-branch.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
name: Sync backup/nightly-snapshot to master
2323
runs-on: ubuntu-24.04
2424
if: github.ref == 'refs/heads/master' && github.event_name != 'pull_request'
25+
env:
26+
ENV_MODE: ci
2527

2628
steps:
2729
- name: Checkout master branch

.github/workflows/build-and-publish.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ jobs:
4242
cache: npm
4343
cache-dependency-path: package-lock.json
4444

45-
#- name: Show Node.js and npm versions
46-
# run: |
47-
# echo "Node.js version: $(node -v)"
48-
# echo "npm version: $(npm -v)"
49-
5045
- name: Upgrade npm
5146
run: |
5247
corepack enable
@@ -132,11 +127,6 @@ jobs:
132127
cache: npm
133128
cache-dependency-path: package-lock.json
134129

135-
#- name: Show Node.js and npm versions
136-
# run: |
137-
# echo "Node.js version: $(node -v)"
138-
# echo "npm version: $(npm -v)"
139-
140130
- name: Upgrade npm
141131
run: |
142132
corepack enable
@@ -193,11 +183,6 @@ jobs:
193183
cache: npm
194184
cache-dependency-path: package-lock.json
195185

196-
#- name: Show Node.js and npm versions
197-
# run: |
198-
# echo "Node.js version: $(node -v)"
199-
# echo "npm version: $(npm -v)"
200-
201186
- name: Upgrade npm
202187
run: |
203188
corepack enable

.github/workflows/check-security-txt-expiry.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212
check-expiry:
1313
runs-on: ubuntu-latest
1414
name: Validate .well-known/security.txt expiration
15+
env:
16+
ENV_MODE: ci
1517

1618
steps:
1719
- name: Checkout repo

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ permissions:
1313
jobs:
1414
dependency-review:
1515
runs-on: ubuntu-24.04
16+
env:
17+
ENV_MODE: ci
1618

1719
steps:
1820
- name: 'Checkout Repository'

.github/workflows/meta-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ permissions:
1818
jobs:
1919
meta:
2020
runs-on: ubuntu-24.04
21+
env:
22+
ENV_MODE: ci
23+
2124
steps:
2225
- name: Checkout repo
2326
uses: actions/checkout@v5

.github/workflows/prevent-audit-merge.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ permissions:
1616
jobs:
1717
check-branch:
1818
runs-on: ubuntu-24.04
19+
env:
20+
ENV_MODE: ci
21+
1922
steps:
2023
- name: Fail if source is audit-netlify
2124
run: |

.github/workflows/secret-scan.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
issues: write
2222
env:
2323
CODEQL_ACTION_ANALYSIS_KEY: gitleaks
24+
ENV_MODE: ci
25+
2426
steps:
2527
# ---------------------------------------------------------------------
2628
# Checkout the full repo history (needed for Gitleaks to scan all commits)

.github/workflows/templates/check-codeql.template.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
check:
2525
name: Check CodeQL Status
2626
runs-on: ubuntu-24.04
27+
env:
28+
ENV_MODE: ci
2729

2830
steps:
2931
- name: Check CodeQL Workflow

0 commit comments

Comments
 (0)