Skip to content

chore: Standardize workflows, update versions and remove comments. - #59

Merged
gustavofreze merged 6 commits into
mainfrom
chore/standardize-workflows
Oct 31, 2026
Merged

gustavofreze merged 6 commits into
mainfrom
chore/standardize-workflows

Conversation

@gustavofreze

@gustavofreze gustavofreze commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Aligns the site with the other repositories of the organization.

What changes

  • Shared workflows: auto-assign.yml and validate-links.yml call the reusable workflows of backend-br/.github. The link checker runs weekly and opens Relatório de links quebrados.
  • Pins: every action is pinned to the commit of its latest release.
  • Permissions: permissions: {} at the top and per job. The build reads contents, the deploy writes pages and the OIDC token. Checkouts do not persist credentials.
  • Versions: Node 26.13.0 in .nvmrc.
  • Dependabot: monthly, on the first day of the month.
  • Comments: removed from the workflows, src/, tools/, astro.config.ts, vitest.config.ts, lychee.toml and the Makefile. What only looks like a comment stays: the ## @ annotations read by make help, the Vitest type reference and the @vite-ignore of the Pagefind import.

Depends on backend-br/.github#1.

Checks

  • biome ci .: no findings
  • astro check: 0 errors, 0 warnings, 0 hints
  • vitest run: 49 passed
  • pnpm build, check:budgets and check:seo: passed

Auto assign and link validation now call the reusable workflows of backend-br/.github, and the link checker runs weekly.
@gustavofreze gustavofreze changed the title chore: Write the link checker issue title in Portuguese. chore: Use the shared workflows of backend-br/.github. Oct 31, 2026
Every action is pinned to the commit of its latest release and permissions move from the workflow to each job, with the build reading contents only and the deploy writing pages. Checkouts do not persist credentials, version comments are removed and Dependabot runs weekly. Node goes to 26.13.0. Comments are removed from the workflows, tools, configs and Makefile.
The triple slash directive types the test key of getViteConfig and is required by astro check.
Dependabot checks for updates on the first day of each month.
Comments are removed from the TypeScript, Astro and CSS sources. Tool directives stay: the Vitest type reference and the @vite-ignore of the Pagefind import.
@gustavofreze gustavofreze changed the title chore: Use the shared workflows of backend-br/.github. chore: Standardize workflows, update versions and remove comments. Oct 31, 2026
@gustavofreze
gustavofreze merged commit 270904e into main Oct 31, 2026
7 checks passed
@gustavofreze
gustavofreze deleted the chore/standardize-workflows branch October 31, 2026 13:28
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