Skip to content

chore: rename reusable workflow analyze.yml -> publish.yaml#4

Merged
znat merged 1 commit intomainfrom
chore/rename-workflow-to-publish
May 2, 2026
Merged

chore: rename reusable workflow analyze.yml -> publish.yaml#4
znat merged 1 commit intomainfrom
chore/rename-workflow-to-publish

Conversation

@znat
Copy link
Copy Markdown
Owner

@znat znat commented May 2, 2026

Summary

Rename the reusable workflow file before tagging `v1`, so the install snippet reads as the (slightly) shorter, more descriptive:

```yaml
uses: znat/gitpulse/.github/workflows/publish.yaml@v1
```

instead of the prior `analyze.yml` name. "Publish" better describes what the workflow does end-to-end (analyze + build + deploy to Pages); "analyze" was only the first step.

The reusable-workflow file path is part of the public API once tagged, so this is the right moment — before any consumer can pin to it.

Changes

  • `.github/workflows/analyze.yml` -> `.github/workflows/publish.yaml`
  • `name:` field updated to "Gitpulse Publish"
  • `self-deploy.yml` updated to call the new path
  • README install snippet updated

Note on file extension

The file is `.yaml` (matching what was requested) where the rest of the repo uses `.yml`. GitHub Actions accepts both. Happy to flip to `.yml` for repo-wide consistency if preferred — say the word.

Test plan

  • `yarn typecheck` — clean
  • `yarn test` — 53/53 green
  • No stragglers grepping for `analyze.yml` or "Gitpulse Analyze"
  • CI workflow green
  • Self-deploy still produces a valid site after merge

The reusable-workflow path is part of the public API once tagged. This
renames before the v1 tag so the install snippet reads as
'znat/gitpulse/.github/workflows/publish.yaml@v1' and the workflow's
own name becomes 'Gitpulse Publish' to better describe what it does
end-to-end (analyze + build + publish to Pages).

- .github/workflows/analyze.yml -> publish.yaml
- self-deploy.yml updated to call the new path
- README install snippet updated
@znat znat merged commit 4e3799e into main May 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant