Repository navigation
fix(ci): skip staging deploy and team sync on forks - #2270
Merged
alanpeixinho merged 2 commits intoDec 4, 2026
Merged
Conversation
Forks have no staging SSH key or org admin token, so those jobs fail on every push to main. Closes kernelci#1550 Assisted-by: Grok 4.7 Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
|
No actionable comments were generated in the recent review. Walkthrough
Change: Bug fix · Severity of issue fixed: Low Merge Risk:
|
felipebergamin
approved these changes
Dec 2, 2026
| # Call job in a a split file | ||
| call-deploy-staging: | ||
| needs: [pre-commit-checks, build-front, unit-test-django, integration-test-django] | ||
| # This 'if' ensures it only runs on pushes to main (the production requirement) |
Member
There was a problem hiding this comment.
nit: I'd keep the comment
Keep the comment that explains the staging deploy condition. Assisted-by: Grok 4.7 Signed-off-by: Alan Peixinho <alan.peixinho@profusion.mobi>
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.
Closes #1550.
What it is
call-deploy-stagingand the dashboard teamsyncjob run only whengithub.repositoryiskernelci/dashboard. A fork that pushes to its ownmainskips both jobs. Those jobs need the staging SSH key and the org admin token, which a fork does not have. Image publishing already uses this check.How to test
This branch was pushed to
profusion/dashboardmain(50b6494f2).call-deploy-stagingwas skipped. The previous push to thatmainfailed indeploy-staging.syncjob.After merge, the next push to
kernelci/dashboardmainshould still runcall-deploy-staging.Made with Cursor
Summary by CodeRabbit