Skip to content

fix(ci): disable dry-run on forks

Nejc Habjan requested to merge (removed):nejch1-master-patch-62156 into master

Pipelines from forks run in the context of the forked project by default, but dry-run still requires a RENOVATE_TOKEN, which won't work against this repo - most people won't configure a token in their forks and I'm not sure they'd have the permissions needed even for a dry run anyway.

See failure in !43 (merged) as an example.

I'm also wondering how to do dry-runs and permissions properly on self-hosted instances so I'd be interested in any cleaner solutions for this. A workaround I've seen is a hardcoded read-only token on a dummy test repo.

/cc @dlouzan @fgreinacher

Merge request reports