Skip to content

ci: add workflow concurrency to stale action to prevent overlapping runs#3357

Open
hesxo wants to merge 1 commit intoopen-telemetry:mainfrom
hesxo:patch-1
Open

ci: add workflow concurrency to stale action to prevent overlapping runs#3357
hesxo wants to merge 1 commit intoopen-telemetry:mainfrom
hesxo:patch-1

Conversation

@hesxo
Copy link
Copy Markdown

@hesxo hesxo commented Apr 4, 2026

Description

Add workflow-level concurrency to the stale issue management workflow to prevent overlapping scheduled runs.

This ensures only one stale job runs at a time per repository, which helps avoid duplicate stale comments, conflicting label updates, and unnecessary GitHub Actions usage.

Link to tracking issue

N/A

Testing

Validated the workflow YAML update.
Confirmed the concurrency block is defined at the workflow level and applies to the scheduled stale job.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Apr 4, 2026

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: hesxo / name: Hasal Dharmagunawradana (5f08278)

@hesxo
Copy link
Copy Markdown
Author

hesxo commented Apr 4, 2026

The failing markdown-link-check job appears unrelated to this change.

This PR only updates .github/workflows/issue-management-stale-action.yml to add workflow-level concurrency for the stale action.

The reported failures are from existing broken links in:

  • assets.md
  • projects/resources-and-entities.md
  • README.md

Examples from the job log:

  • Oracle docs fragment not found
  • Google Doc 404
  • Google Slides 404
  • open-telemetry/opentelemetry-kotlin/discussions 404

So this looks like a pre-existing repository-wide link check failure rather than an issue introduced by this PR.

@arminru
Copy link
Copy Markdown
Member

arminru commented Apr 7, 2026

Hi @hesxo! Thanks for your PR.

Have parallel runs ever occurred before and if so, is there any example where this has been an issue?

The cron schedule is set to run once an hour and each run only takes a few seconds, so I wonder if there is any potential for this to happen to begin with:

on:
schedule:
# Hourly at minute 23
- cron: "23 * * * *"

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.

2 participants