Skip to content

CI: don't check lint when deploying to staging #592

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

missytake
Copy link
Contributor

@missytake missytake commented Jun 29, 2025

The cmdeploy fmt -v step changes the local checkout of the repository, but returns exit code 0 - and then later, the undeployed changes test fails, with an unhelpful error which doesn't really point to the actual problem (the linting).

Actually CI should already fail at the linting step. Actually we don't need to check lint in this CI job, as another already checks it.

@missytake
Copy link
Contributor Author

This failed (to be expected, so let's rebase on top of #591 to see whether the undeployed changes test passes now:

@missytake missytake changed the base branch from main to ruff-ignore-PLC0415 June 29, 2025 16:54
@missytake
Copy link
Contributor Author

An idea would also be to just remove the lint check from the deploy-on-staging-CI steps, as the ci.yaml workflows already check it. I guess we don't really want our whole deployment to fail just because of a code style disagreement.

@missytake missytake changed the title CI: fail on lint issues CI: don't check lint when deploying to staging Jun 29, 2025
Base automatically changed from ruff-ignore-PLC0415 to main June 29, 2025 17:49
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.

1 participant