fix: correct workflow path trigger after script relocation #4

Merged
brad merged 1 commit from fix/workflow-path-trigger into main 2026-02-26 16:27:47 -08:00
Collaborator

Problem

In PR #3, the CSS generation script was moved from scripts/generate-css.js to .forgejo/scripts/generate-css.js, but the workflow path trigger was not updated to match.

Solution

Update the workflow's paths trigger from:

- 'scripts/generate-css.js'

to:

- '.forgejo/scripts/generate-css.js'

Impact

Without this fix, the workflow won't trigger when the generation script is modified, only when brand.json changes.

## Problem In PR #3, the CSS generation script was moved from `scripts/generate-css.js` to `.forgejo/scripts/generate-css.js`, but the workflow path trigger was not updated to match. ## Solution Update the workflow's `paths` trigger from: ```yaml - 'scripts/generate-css.js' ``` to: ```yaml - '.forgejo/scripts/generate-css.js' ``` ## Impact Without this fix, the workflow won't trigger when the generation script is modified, only when `brand.json` changes.
The workflow was still monitoring 'scripts/generate-css.js' from the
original location, but the script was moved to
'.forgejo/scripts/generate-css.js' in PR #3. This fixes the path
trigger so the workflow will correctly detect changes to the script.
brad approved these changes 2026-02-26 16:27:42 -08:00
brad merged commit d8b99697bc into main 2026-02-26 16:27:47 -08:00
brad deleted branch fix/workflow-path-trigger 2026-02-26 16:27:47 -08:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
brad/brand-guidelines!4
No description provided.