Skip to content
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

Enable manual trigger on GitHub Workflows #2620

Merged
merged 1 commit into from
Oct 4, 2021

Conversation

vovcacik
Copy link
Contributor

@vovcacik vovcacik commented Oct 1, 2021

Hi, this enables manual trigger on your workflows. Documented here.

This is useful for forks to run the checks/tests themselves (on their own account) in case of

  • failure, to see full logs or verify reproducibility
  • before sending pull request, or committing to PR (if one wants to see results beforehand)

Steps needed before this patch:

  1. fork fzf
  2. enable workflows for the fork (web ui)
  3. push this patch in master
  4. push this patch in feature branch
  5. trigger workflow (web ui)

Steps needed after this patch:

  1. fork fzf
  2. enable workflows for the fork (web ui)
  3. trigger workflow (web ui)

The annoying part is pushing the same patch in fork's master and feature branch. Also pushing workflow changes may require additional authorization, so fork dev may need to generate new github's access token (just to push it in master).

@vovcacik vovcacik changed the title Enable manually trigger on GitHub Workflows Enable manual trigger on GitHub Workflows Oct 1, 2021
@junegunn junegunn merged commit 179993f into junegunn:master Oct 4, 2021
@junegunn
Copy link
Owner

junegunn commented Oct 4, 2021

Merged, thanks!

@vovcacik vovcacik deleted the enable_workflow_dispatch branch October 5, 2021 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants