hyperjumptech / monika

Monika is a command line application to monitor every part of your web app using a simple YAML configuration file. Get alert not only when your site is down but also when it's slow.
https://monika.hyperjump.tech
MIT License
598 stars 66 forks source link

Cancel workflow is not working #1200

Closed haricnugraha closed 2 months ago

haricnugraha commented 10 months ago

Describe the bug Error appears when cancel workflow. See here.

To Reproduce Push some code with a failed test to a branch.

Expected behavior All workflows canceled if a workflow failed.

Screenshots image

syamsudotdev commented 10 months ago

I can't seem to reproduce this on my fork. Experiments on #1202 is reproducible but no fix found so far. Last option is to change permission for the whole Github Actions in hyperjumptech/monika repository. cc @nicnocquee

image

Reference

syamsudotdev commented 10 months ago

I can't seem to reproduce this on my fork. Experiments on #1202 is reproducible but no fix found so far. Last option is to change permission for the whole Github Actions in hyperjumptech/monika repository. cc @nicnocquee

Reference

Turns out the GITHUB_TOKEN from a fork repository PRs cannot write to Actions resources, documented here.

We will need a different approach to cancel a workflow with independent jobs or declare any long-running jobs to depend on the other ones.