Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

https://docs.github.com/en/actions/security-for-github-actio...

> When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of `workflow_dispatch` and `repository_dispatch`, will not create a new workflow run.

It has bitten me in the rear before too. I use this pattern a lot when I publish a new version, which tags a piece of code and then marks assets as part of that version (for provenance reasons I cannot rebuild code).



We're also struggling with this, as we'd love to e.g. just run a formatter and commit the changed code in CI rather than just fail the code.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: