Skip to content

Conversation

d3zd3z
Copy link
Collaborator

@d3zd3z d3zd3z commented Jun 27, 2025

When running CI on pull requests, the S3 keys needed to push doc changes are only accessible when the pull request comes from the same repo as the project repo. If it is from a clone, these are not available, and the push fails.

Work around this by correctly detecting this case, and avoiding the s3 push in these instances.

As we get more and more outside contributions, this will need to be revisited, possibly with a separate workflow that runs in a different context and has the keys available.

When running CI on pull requests, the S3 keys needed to push doc changes
are only accessible when the pull request comes from the same repo as
the project repo.  If it is from a clone, these are not available, and
the push fails.

Work around this by correctly detecting this case, and avoiding the s3
push in these instances.

As we get more and more outside contributions, this will need to be
revisited, possibly with a separate workflow that runs in a different
context and has the keys available.

Signed-off-by: David Brown <[email protected]>
@d3zd3z d3zd3z requested review from cfriedt and teburd June 27, 2025 17:25
@d3zd3z d3zd3z merged commit cf3241e into main Jul 9, 2025
4 checks passed
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.

2 participants