Skip to content
New issue

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

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

Already on GitHub? # to your account

Do not create issues on vul scan failures when triggered by pull requests #276

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

zhijie-yang
Copy link
Contributor

Ping the @canonical/rocks team.


Description

This change fixes the issue that vulnerability GH issues are created when the PR to add new images are not merged into main yet. We should create issues for the oci images only when they are already in the main branch since the new images with failing vulnerability scanning results should not be merged into main.

Related issues

Workflow run: https://github.com/canonical/oci-factory/actions/runs/11342692546/job/31546152898?pr=262


@zhijie-yang zhijie-yang requested a review from a team as a code owner October 23, 2024 12:05
Copy link
Contributor

@SamirPS SamirPS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@linostar linostar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@cjdcordeiro cjdcordeiro merged commit d6b412b into main Oct 24, 2024
2 checks passed
@cjdcordeiro cjdcordeiro deleted the ROCKS-1596/do-not-create-issue-on-pr branch October 24, 2024 07:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants