Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It should cancel all instances of running workflow when workflow name in workflow_id is specified #202

Closed
DmitriyBobrovskiy opened this issue Jan 16, 2023 · 3 comments

Comments

@DmitriyBobrovskiy
Copy link

Hi,
By some reason this action cancels only one instance of running workflow instead of cancelling all of them.
My usage is:

      - uses: styfle/cancel-workflow-action@0.11.0
        with:
          ignore_sha: true
          access_token: ${{ github.token }}
          workflow_id: "pr.yml, pr_k8s.yml"

And if there are couple of running workflows of pr_k8s.yml then it cancels only one of them.

@ebrannin-bw
Copy link

ebrannin-bw commented Feb 8, 2023

Is it canceling the one workflow from the branch you're running, or are other not-cancelled workflows on the same branch?

(I think it would be nice to have a branch parameter, to run against arbitrary branches)

Edit: Looks like your issue has already been requested in #86

@DmitriyBobrovskiy
Copy link
Author

DmitriyBobrovskiy commented Feb 9, 2023

Is it canceling the one workflow from the branch you're running, or are other not-cancelled workflows on the same branch?

(I think it would be nice to have a branch parameter, to run against arbitrary branches)

Edit: Looks like your issue has already been requested in #86

As far as I remember it was on the same branch, but if I face that problem again, I'll write it down if it was same branch or different one.

@styfle
Copy link
Owner

styfle commented Sep 7, 2023

Closing since this looks like a duplicate of #86

@styfle styfle closed this as not planned Won't fix, can't repro, duplicate, stale Sep 7, 2023
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

No branches or pull requests

3 participants