- Turn it on per collection. Open the collection, go to Settings → Uploads, and turn on Accept uploads from forked pull requests. Only organization admins can change this setting.
- No new identifier. The fork workflow addresses the collection by its existing collection ID, which is safe to commit. The ID grants nothing unless the setting is on.
- Upload without a token. Set
allow-forked-pr-uploads: truealongsidetest-collection-idontrunk-io/analytics-uploader@v2. If you call the CLI directly, pass--allow-forked-pr-uploadswith--test-collection-id. - Contributors’ CI stays green. A refused fork upload logs a warning and exits successfully.
- Easy to revoke. Turning the setting off takes effect within about a minute.
analytics-uploader v2.1.4 or later. The @v2 tag already includes it.
Repositories that don’t use test collections can keep using the existing public repo identifier. See Uploads from forked pull requests for both setups.