The Wayback Machine - https://web.archive.org/web/20211026174853/https://github.com/python/cpython/pull/27873
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

bpo-44972: Add workflow_dispatch trigger to GitHub Actions workflows #27873

Merged
merged 2 commits into from Oct 21, 2021

Conversation

@nightlark
Copy link
Contributor

@nightlark nightlark commented Aug 21, 2021

Adds workflow_dispatch triggers to run GHA workflows in development branches of forks (runs in context of the fork, using runner pool of the account with the fork).

gha-run-workflow


To be able to trigger a CI build for a branch the workflow yaml files in that branch needs the workflow_dispatch trigger, so having the trigger added in the main/3.x branches should make so jobs can be manually triggered for all new branches created or rebased. If the main/default branch doesn't have workflow_dispatch added, the Run Workflow drop down menu doesn't show up.

gha-no-trigger

https://bugs.python.org/issue44972

@ambv
Copy link
Contributor

@ambv ambv commented Aug 23, 2021

Please rebase your PR.

@nightlark nightlark force-pushed the gha-workflow_dispatch-trigger branch from 88a1808 to f1165b1 Aug 23, 2021
@nightlark
Copy link
Contributor Author

@nightlark nightlark commented Aug 27, 2021

PR is rebased.

@zooba
Copy link
Member

@zooba zooba commented Sep 16, 2021

Probably didn't need to be rebased, and now it's likely to fail until you merge in the current main (which has another, unrelated CI fix).

We squash merge at the end anyway, so provided there are no conflicts, there'll only be one commit (and we'll edit the message for consistency).

@nightlark
Copy link
Contributor Author

@nightlark nightlark commented Sep 20, 2021

Okay, I merged in the current main.

@ambv ambv merged commit 3754f55 into python:main Oct 21, 2021
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants