-
Notifications
You must be signed in to change notification settings - Fork 13
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
Figure out a way to prevent pipelines from triggering multiple times on a PR #1619
Comments
There is no way to prevent pipelines from triggering multiple times. What we can do is to set a policy to cancel previously triggered runs, or to switch to manual triggering workflows. ConcurrencyGitHub Actions has a concurrency feature that can automatically cancel previous runs of the same workflow for a PR.
Manual triggerWe can remove automatic triggering of workflows on PR, and have developers manually trigger them when they are ready to test. This can be triggered from Web UI ar using GH CLI tool https://github.com/tenstorrent/tt-forge-internal/wiki/CI-CD-Guide#manually-trigger-workflow-runs Skip CIAlso, there is an option for us to keep the automatic trigger, but control the workflow runs using the commit message. If you include [skip ci] string in the commit message workflows wont trigger automatically. Once developer is ready to ready to test, removing the commit message will enable the workflows https://github.com/tenstorrent/tt-forge-internal/wiki/CI-CD-Guide#skip-workflow-runs |
Add concurrency check, new workflows triggered on the same branch should cancel old ones in progress. #1619
Add concurrency check, new workflows triggered on the same branch should cancel old ones in progress. tenstorrent/tt-mlir#1619
Add concurrency check, new workflows triggered on the same branch should cancel old ones in progress. tenstorrent/tt-mlir#1619
Currently this can be done manually via Github -> Actions -> On PR -> click … on your pipeline -> cancel run. This will help prevent backlog pipeline runs for everyone.
Look to see if there is a way to automate this to avoid clogging up the pipeline.
The text was updated successfully, but these errors were encountered: