ci: fix nightly AWS CA certs push and limit to main repo - #7185
Merged
sorindumitru merged 1 commit intoAug 2, 2026
Merged
Conversation
fetch-depth: 0 so force-with-lease has a tracking ref for bot/update-aws-ca-certs. Restrict the job to spiffe/spire so forks do not run the updater. Fixes spiffe#7184 Signed-off-by: samuraiXwandering <301416091+samuraixwandering@users.noreply.github.com>
samuraixwandering
requested review from
MarcosDY,
amartinezfayo,
evan2645,
rturner3 and
sorindumitru
as code owners
August 2, 2026 08:41
sorindumitru
approved these changes
Aug 2, 2026
sorindumitru
left a comment
Member
There was a problem hiding this comment.
LGTM, thanks @samuraixwandering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the nightly
update-aws-ca-certsjob that has been failing withgit push --force-with-leaserejected asstale info.fetch-depth: 0on the job checkout so the remote tracking ref forbot/update-aws-ca-certsexists and--force-with-leasecan compare against it (default single-branch checkout only hasmain).if: github.repository == 'spiffe/spire'so the job does not run on forks.As discussed on #7184.
Test plan
.github/workflows/nightly_build.yamlworkflow_dispatch) succeeds at the push step when certs driftupdate-aws-ca-certsis skippedFixes #7184