Skip to content

Reduce duplicate Services CI runs#11916

Merged
PyvesB merged 1 commit into
badges:masterfrom
DCjanus:ci-services-edit-events
Jun 7, 2026
Merged

Reduce duplicate Services CI runs#11916
PyvesB merged 1 commit into
badges:masterfrom
DCjanus:ci-services-edit-events

Conversation

@DCjanus

@DCjanus DCjanus commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

This is a small CI workflow adjustment.

Why

In #11915, repeated PR description edits triggered Services CI multiple times, and the GitHub service tests eventually hit a GitHub API 429: failed job.

This PR makes description-only edits skip live service tests.

What

  • Cancel older Services runs for the same PR / ref when a newer run starts.
  • Run test-services for pull_request.edited only when the PR title changes.
  • Skip test-services when only the PR body changes.

Assisted-by: Codex:gpt-5.5
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown
Contributor
Messages
📖 ✨ Thanks for your contribution to Shields, @DCjanus!

Generated by 🚫 dangerJS against 9f27a14

@PyvesB PyvesB left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a nice little optimisation, thanks @DCjanus !

@PyvesB PyvesB added this pull request to the merge queue Jun 7, 2026
Merged via the queue into badges:master with commit 35221ad Jun 7, 2026
20 checks passed
@DCjanus DCjanus deleted the ci-services-edit-events branch June 7, 2026 11:17
PyvesB pushed a commit to PyvesB/shields that referenced this pull request Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants