skypilot-org/skypilot

.skyignore file does not respect negate [!]

Open

#8,812 opened on Feb 7, 2026

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

Repository metrics

Stars
 (4,859 stars)
PR merge metrics
 (Avg merge 2d 23h) (146 merged PRs in 30d)

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