Skip to content

ci: avoid duplicate PR runs and update badge actions - #159

Merged
davidpavlovschi merged 2 commits into
masterfrom
ci/single-pr-runs-node24-badges
Aug 2, 2026
Merged

ci: avoid duplicate PR runs and update badge actions#159
davidpavlovschi merged 2 commits into
masterfrom
ci/single-pr-runs-node24-badges

Conversation

@davidpavlovschi

Copy link
Copy Markdown
Collaborator

Summary

  • run branch-push matrices only for master; pull requests keep the complete matrix
  • update action-download-artifact from v6 to v21
  • update dynamic-badges-action from v1.7.0 to v1.9.0

Why

Maintainer branches currently trigger the same nine CI and nine GORM jobs twice: once for push and once for pull_request. Restricting push runs to master halves PR compute without reducing coverage.

The latest badge-action releases both use Node 24. The current badge run still warns about Node 20 in dynamic-badges-action v1.7.0, while v1.9.0 also includes the maintainers current 2026 GitHub API update and more reliable async request handling.

Validation

  • all workflow YAML parses successfully
  • git diff --check passes
  • the v21 download action keeps the workflow, workflow_conclusion, and path inputs used here
  • both referenced action releases declare the Node 24 runtime

The GIST_SECRET still needs owner rotation; this removes the runtime warning and keeps the workflows current, but does not pretend a code change can replace that credential.

@davidpavlovschi
davidpavlovschi merged commit caa6e2b into master Aug 2, 2026
18 checks 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