Skip to content

Providing a mechanism to restart a PR workflow #444

Closed Answered by yin1999
yarusome asked this question in Platform
Discussion options

You must be logged in to vote

Hey @yarusome. IMO, adding an extra mechanism to trigger the workflow might not be necessary.

The members with push permissions can rerun the failed workflows. And workflow failures due to downgrade of GitHub actions occur very rarely. Besides, the workflow_dispatch event could only triggered by member with push permission to the corresponding repo.

For the case where the workflow fails due to degradation of github action or other reasons, you could:

  • ask for the reviewer to rerun the workflow
  • force push or merge main branch (push a new commit) to retrigger the workflow

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@yarusome
Comment options

Comment options

You must be logged in to vote
3 replies
@bsmth
Comment options

@yarusome
Comment options

@yin1999
Comment options

Answer selected by yarusome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants