Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
65a782b
fix(workflows): add better error handling to milestone assignment ste…
ashleyshaw Aug 4, 2026
36618f5
fix(workflows): improve milestone assignment debugging with console.l…
ashleyshaw Aug 4, 2026
2bee0ee
fix(workflows): use core.info() instead of console.log() for proper g…
ashleyshaw Aug 4, 2026
11ede40
test(workflows): simplify to one-liner test to isolate script executi…
ashleyshaw Aug 4, 2026
acda60b
fix(workflows): restore full milestone assignment with step-by-step l…
ashleyshaw Aug 4, 2026
7832b84
fix(workflows): use env variables instead of template substitution to…
ashleyshaw Aug 4, 2026
7848b5b
refactor(workflows): move to standalone Node.js script to avoid githu…
ashleyshaw Aug 4, 2026
89774c2
fix(scripts): use process.cwd() for absolute paths and add better log…
ashleyshaw Aug 4, 2026
90df5e3
debug(workflows): add explicit path checking and error capture for mi…
ashleyshaw Aug 4, 2026
5f0be82
refactor(workflows): use file-based JSON passing instead of env varia…
ashleyshaw Aug 4, 2026
dca9da0
fix(workflows): correct env variable syntax - move to env block inste…
ashleyshaw Aug 4, 2026
ab2c43c
refactor(workflows): switch to GitHub CLI for milestone assignment - …
ashleyshaw Aug 4, 2026
e6a2576
chore: add diagnostic debugging to Assign milestones step (dry-run 14)
ashleyshaw Aug 4, 2026
38f1e97
fix: restore milestone assignment agent with env variable passing (dr…
ashleyshaw Aug 4, 2026
b458a65
chore: add granular console.log debugging to milestone assignment ste…
ashleyshaw Aug 4, 2026
1e48fe1
fix: use core.info/core.error instead of console for github-script ou…
ashleyshaw Aug 4, 2026
c5c514b
fix: simplify if condition and add env fetch diagnostics (dry-run 18)
ashleyshaw Aug 4, 2026
66d80ac
test: minimal github-script test to confirm output capture (dry-run 19)
ashleyshaw Aug 4, 2026
387d8a6
fix: restore full milestone assignment with simpler template substitu…
ashleyshaw Aug 4, 2026
b637798
fix: use standalone Node.js script instead of github-script for miles…
ashleyshaw Aug 4, 2026
3d668d3
fix: disable bash -e flag and add exit code logging to debug script f…
ashleyshaw Aug 4, 2026
35d8c92
test: add comprehensive unit tests for MilestoneAssignmentAgent (28 t…
ashleyshaw Aug 4, 2026
2eaf604
feat: add PR merge governance validation hook
ashleyshaw Aug 4, 2026
0c0a435
Merge develop into feature branch
ashleyshaw Aug 4, 2026
7e8dd2b
fix: use proper YAML multiline syntax for bash commands
ashleyshaw Aug 4, 2026
2336040
fix: correct regex syntax for linked-issues detection in governance hook
ashleyshaw Aug 4, 2026
886c86f
Merge develop: resolve regex conflict in governance hook
ashleyshaw Aug 4, 2026
f25dba4
refactor: improve linked-issues regex to prevent false positives
ashleyshaw Aug 4, 2026
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 .github/workflows/gitleaks-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: gitleaks version updater

on:
schedule:
- cron: '17 3 * * 1'
- cron: "17 3 * * 1"
workflow_dispatch:

permissions:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated

(none identified)

### Added

- **Gitleaks secret scanning** — Added `gitleaks-reusable.yml`, an organisation-wide reusable workflow other repositories call via `workflow_call`, plus a `gitleaks.yml` caller running on pull requests into `develop`/`main`. Runs the open-source Gitleaks CLI directly (the `gitleaks-action` wrapper requires a paid licence for organisation repositories). Per-PR runs scan the working tree; `workflow_dispatch` accepts a `full-history` input for on-demand full-history rescans. A baseline full-history scan of this repository returned 50 hits, all verified as placeholder values in documentation and tests, allowlisted in `.gitleaks.toml`. ([PR #1444](https://github.com/lightspeedwp/.github/pull/1444))
Expand Down
2 changes: 1 addition & 1 deletion hooks/pr-merge-governance-validator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ esac

has_linked_issues=false

if echo "$pr_body" | grep -qiE "(fixes|resolves|closes|relates to)\s+#[0-9]+"; then
if echo "$pr_body" | grep -qiE "(^|[[:space:]])(fixes|resolves|closes|relates[[:space:]]+to)[[:space:]]+#[0-9]+"; then
has_linked_issues=true
fi

Expand Down
Loading