We have made changes in CI to trigger cypress using commit, current logic is
Add the ok-to-test label manually on PR
After this label is added each commit will lead to cypress workflow to run.
It makes sure that it cancels previous workflow when next commit is made
Future Solution
[x] Trigger the cypress test with the commit itself but with a particular message in the commit like ‘trigger-cypress’. If the commit message has ‘trigger-cypress’ it runs the cypress workflow.
[x] Allows tags to be mentioned in the commit message itself.
[ ] Make sure the PR checks passes
[ ] Make sure the PR description is not updated
[ ] Comment for failure cases
Why work on this?
Fix the external contribution unable to run CI checks using PR from forked repo.
Balance between best DX and resource consumption, current implementation needs manual addition of label to trigger first cypress and also manual update of description required to mention tags for spec that need to run.
We have made changes in CI to trigger cypress using commit, current logic is
ok-to-test
label manually on PRFuture Solution
Why work on this?