Skip to content

Conversation

@terriko
Copy link
Contributor

@terriko terriko commented Oct 25, 2023

The earlier PR skipping tests caused issues with our branch protection rules and had to be disabled because it blocked merging of pull requests (if the tests were skipped, the PR could never be merged). This allows part of the job to run (so it'll pass branch protection checks) while skipping the install and running of tests on sbom jobs provided by our automated job.

Note that this is the same code as I had in #3446 but I'm separating it out so it gets a proper code review from someone who is not me.

It won't do anything interesting when the tests are run here (because this isn't a bot PR for an sbom) but you can see what it's supposed to do on #3446

The earlier PR skipping tests caused issues with our branch protection rules
and had to be disabled because it blocked merging of pull requests (if the
tests were skipped, the PR could never be merged).  This allows part of the job
to run (so it'll pass branch protection checks) while skipping the install and
running of tests on sbom jobs provided by our automated job.

Note that this is the same code as I had in intel#3446 but I'm separating it out so
it gets a proper code review from someone who is not me.

Signed-off-by: Terri Oda <terri.oda@intel.com>
Copy link

@novafacing novafacing left a comment

Choose a reason for hiding this comment

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

LGTM, afaik there is no nicer way to do this than how it's being donw here ;_;

@terriko terriko merged commit 775a8b3 into intel:main Oct 30, 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.

2 participants