Skip to content

[CI] Workaround for GHA handling of 'skipped' in job dependency chain#5152

Merged
abravalheri merged 4 commits intopypa:mainfrom
abravalheri:fix-ci
Jan 21, 2026
Merged

[CI] Workaround for GHA handling of 'skipped' in job dependency chain#5152
abravalheri merged 4 commits intopypa:mainfrom
abravalheri:fix-ci

Conversation

@abravalheri
Copy link
Copy Markdown
Contributor

Summary of changes

This is an attempt to fix #5151.

This solution is mentioned in actions/runner#2205 (comment).

The assumption is that failure() returns false when previous jobs are skipped.

Closes #5151

Pull Request Checklist

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note: Wow, I didn't realize this still doesn't use tokenless uploads 🤔

Comment thread .github/workflows/main.yml Outdated
abravalheri and others added 3 commits January 20, 2026 14:46
Co-authored-by: 🇺🇦 Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua>
@abravalheri abravalheri merged commit fafbe2c into pypa:main Jan 21, 2026
43 of 44 checks passed
@github-project-automation github-project-automation Bot moved this from 🧐 @webknjaz's review queue 📋 to 🌈 Done 🦄 in 📅 Procrastinating in public 😵‍💫 Jan 21, 2026
@abravalheri
Copy link
Copy Markdown
Contributor Author

Thank you very much @webknjaz.

@abravalheri abravalheri deleted the fix-ci branch January 21, 2026 09:24
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.

[CI] release action mysteriously skipped

2 participants