Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix correlator of snapshot #96

Merged
merged 1 commit into from
Mar 24, 2023
Merged

Fix correlator of snapshot #96

merged 1 commit into from
Mar 24, 2023

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?
1 participant