chore(lastlight): skip the weekly security scan - #3
Closed
robinbowes wants to merge 1 commit into
Closed
Conversation
This repo is a fork, so a scan reports findings in upstream wagoid code that we do not own. Drops out of the weekly-security-scan fan-out only; PR review and every other Last Light workflow still apply.
Author
|
Closing: the premise was wrong. Last Light cannot act on the upstream repo — every dispatch path is gated on |
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.
Adds
.lastlight/lastlight.ymlopting this repo out of Last Light'sweekly-security-scancron.Why
This is a fork of
wagoid/commitlint-github-action, so nearly all the code here is upstream's. Once the repo joins Last Light'smanagedRepos(yo61/flux-homelab#187) the Monday cron would scan it and file a summary issue of findings in code we don't own and can't act on.How it works
Last Light resolves cron participation at tick time by reading each managed repo's
.lastlight/lastlight.yml(apps/server/src/cron/repo-crons.tsupstream). The operator's bounds all permit it:repoConfig.enabled: true— the master switch for reading.lastlight/at allrepoConfig.allowKeysincludescrons— the operator's kill switch would be to remove itmasterworksweekly-security-scanis the cron's name fromworkflows/cron-security.yamlupstream — the cron, not thesecurity-reviewworkflow it runs.Scope
This drops the repo from one cron, not from Last Light. PR review and every other workflow still apply. Reverse it by deleting this file, or move the entry to
crons.enableto opt back in.