Skip to content

Scope the concurrency at the branch level #42

@markmssd

Description

@markmssd

Thanks for this action @ahmadnassri !

I've noticed that when we fetch the workflow runs here, it does not take into account the branch. For example:

  // get current run of this workflow
  const { data: { workflow_runs } } = await octokit.request('GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs', {
    ...github.context.repo,
    branch: github.context.ref.replace('refs/heads/', ''),
    workflow_id
  })

Would it make sense to have that scoping? I can open a PR if so!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions