Skip to content

fix(ci): fix generate SDK workflow GPG signing and push auth#552

Merged
jdalton merged 1 commit intomainfrom
fix/generate-sdk-workflow
Apr 5, 2026
Merged

fix(ci): fix generate SDK workflow GPG signing and push auth#552
jdalton merged 1 commit intomainfrom
fix/generate-sdk-workflow

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton jdalton commented Apr 5, 2026

Summary

  • Use setup-and-install action instead of manual actions/checkout with persist-credentials: false
  • Push via git push origin instead of manual URL construction — inherits checkout credentials
  • Only run cleanup-git-signing when setup-git-signing actually ran
  • Use checkout-ref for the validate job

Fixes the "push declined due to repository rule violations" error that has been breaking the scheduled generate-sdk workflow since the GPG signing requirement was added.

Test plan

  • CI passes
  • Trigger generate SDK workflow manually after merge to verify push works

- Use setup-and-install action instead of manual checkout with
  persist-credentials: false
- Push via git push origin instead of manual URL construction
- Only run cleanup-git-signing when setup-git-signing actually ran
- Use checkout-ref for validate job
@jdalton jdalton force-pushed the fix/generate-sdk-workflow branch from d5c6d95 to d52ae4e Compare April 5, 2026 00:30
@jdalton jdalton merged commit f1721a8 into main Apr 5, 2026
10 checks passed
@jdalton jdalton deleted the fix/generate-sdk-workflow branch April 5, 2026 03:48
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