Skip to content

set up zizmor - #577

Open
mdaniels5757 wants to merge 6 commits into
mainfrom
zizmor
Open

mdaniels5757 wants to merge 6 commits into
mainfrom
zizmor

Conversation

@mdaniels5757

@mdaniels5757 mdaniels5757 commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

@mdaniels5757
mdaniels5757 added this pull request to stack #578 October 11, 2026 16:41
Base automatically changed from use-dependabot-for-nix-flake-updates to main October 12, 2026 00:15
Comment thread .github/zizmor.yml
rules:
dependabot-cooldown:
config:
days: 3

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is dependabot's default, but given that zizmor recommends its own default of seven days, what's the thinking behind setting this explicitly?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It mostly doesn't matter now that I've switched dependabot to run semi-annually. My thinking was that the cost-benefit of "will this unduly delay a needed (possibly security) update" and "will this allow a compromised upstream through?" is not favorable to longer cooldowns for nix flake (and especially nixpkgs) updates.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I checked out this branch and nix flake check doesn't complain about the mismatch between the 3 here and the 7 in dependabot.yml. Nor does nix fmt alter dependabot.yml. I bumped the dependabot.yml values down to 2, in case it's a greater-than-or-equal thing, and still no complaints or changes. The treefmt-nix integration should make at least one of these things happen, right?

This branch has not been deployed

No deployments
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