Skip to content

Conversation

@jacoblerner-czi
Copy link
Contributor

id-token: write
contents: read
if: always()
if: always() && needs.prep.outputs.should_deploy == 'true'
Copy link
Contributor

@hspitzley-czi hspitzley-czi Jan 13, 2026

Choose a reason for hiding this comment

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

I think this will make it so repos that have the update-manifest job as a required check don't get a passing status unless the should_deploy is true. We use this job check to ensure ducker successfully builds even when manifests are not updated, so we want it to still run in that case

IIRC I think the issue occurs when someone merges the branch between when the prep/build jobs run and when the manifest-update job tries to checkout the branch so the fix here should catch the error when it tries to checkout the branch but it doesn't exist and gracefully exit

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.

3 participants