skypilot-org/skypilot

.skyignore file does not respect negate [!]

Open

#8812 opened on Feb 7, 2026

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Python (4,859 stars) (311 forks)batch import
good first issuegood starter issues

Description

Hey guys! As title states, I have a reproducible example where .skyignore file looks like this

# ignore all json 
*.json

# but keep this one
!config.json 

When launching the cluster, I sshed onto the node and can confirm the config.json didn't get uploaded into sky_workdir

I'm using version 0.11.1 and k8 infra.

Thank you!

Contributor guide