Skip to content

Discussion: Add concurrency control to the three daily scheduled workflows? #780

Description

@Maanvi212006

The following three workflows run daily on a schedule:

  • .github/workflows/update-metadata.yml
  • .github/workflows/generate-reports.yml
  • .github/workflows/consolidate-metadata.yml

None of them currently have a concurrency block.

Proposed change:

Add this at the top of each workflow:

concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true

Benefits:

  • Prevents two instances of the same workflow from running at the same time.
  • Cancels the older run if a new one starts.
  • Avoids potential git push conflicts and race conditions on JSON files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Target date

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions