Skip to content

Conversation

@adpi2
Copy link
Member

@adpi2 adpi2 commented Mar 24, 2023

Fixes #84

According to the documentation we can put whatever key we want in the job correlator to identify uniquely the snapshots we submit:

Correlator provides a key that is used to group snapshots submitted over time. Only the "latest" submitted snapshot for a given combination of job.correlator and detector.name will be considered when calculating a repository's current dependencies. Correlator should be as unique as it takes to distinguish all detection runs for a given "wave" of CI workflow you run. If you're using GitHub Actions, a good default value for this could be the environment variables GITHUB_WORKFLOW and GITHUB_JOB concatenated together. If you're using a build matrix, then you'll also need to add additional key(s) to distinguish between each submission inside a matrix variation.

@adpi2 adpi2 changed the title Fix id of snapshot Fix correlator of snapshot Mar 24, 2023
@adpi2 adpi2 marked this pull request as ready for review March 24, 2023 14:20
@adpi2 adpi2 merged commit fab4ada into main Mar 24, 2023
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.

Possible to submit multiple, independent projects?

2 participants