-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
gh-122965: Fix reusable-change-detection.yml
on workflow_dispatch
#122966
Conversation
One more point to consider: maybe instead we always need to run docs and windows msi jobs on Basically I propose to think about this change, from: - name: Check for docs changes
if: >-
github.event_name == 'pull_request'
&& steps.changed-docs-files.outputs.added_modified_renamed != ''
id: docs-changes
run: |
echo "run-docs=true" >> "${GITHUB_OUTPUT}" to: - name: Check for docs changes
if: >-
(github.event_name == 'pull_request'
&& steps.changed-docs-files.outputs.added_modified_renamed != '')
|| github.event_name == 'workflow_dispatch'
id: docs-changes
run: |
echo "run-docs=true" >> "${GITHUB_OUTPUT}" and the same for |
https://github.com/sobolevn/cpython/actions/runs/10368635188/job/28702683326 ![]() So, I addapted it. |
The last version worked: https://github.com/sobolevn/cpython/actions/runs/10368788774/job/28703154687 |
Done, @hugovk! Thanks for your quick and helpful review! 👍 |
Looks like the PR title/description needs updating. |
Failures are unrelated, GitHub was down. Re-running. The manual build was succesful: https://github.com/sobolevn/cpython/actions/runs/10370346404/job/28708436891 |
This looks complete now! GitHub re-run worked, local manual tests passed: https://github.com/sobolevn/cpython/actions/runs/10370346404/job/28708436891 Thanks everyone! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…patch` (pythonGH-122966) (cherry picked from commit 6ae942f) Co-authored-by: sobolevn <mail@sobolevn.me>
GH-123008 is a backport of this pull request to the 3.13 branch. |
…patch` (pythonGH-122966) (cherry picked from commit 6ae942f) Co-authored-by: sobolevn <mail@sobolevn.me>
GH-123009 is a backport of this pull request to the 3.12 branch. |
After merging, I tested a manual trigger and looks good: https://github.com/python/cpython/actions/runs/10387198512 👍 |
We no longer skip
Docs
andWindows MSI
jobs onworkflow_trigger
but instead they are now always executed on manual runs.Refs #122336