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

[ci] Move owasp check into the main workflow #17568

Merged
merged 4 commits into from
Sep 12, 2022

Conversation

nicoloboschi
Copy link
Contributor

Motivation

Currently for every pull a new runner is requested to run the Owasp check. If your pull doesn't change a pom.xml file, the workflow exits without doing nothing.
Moving it inside the main workflow will bring these benefits:

  • The runner will be created only if actually necessary
  • The artifacts will be reused from the main build step

Modifications

  • Moved inside Pulsar CI workflow
  • Added a new changes filter need_owasp. I thought to use poms_only initially but it may be misleading since it also check for owasp suppressions files.
  • doc-not-needed

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Sep 9, 2022
@nicoloboschi nicoloboschi merged commit 8f4c0e0 into apache:master Sep 12, 2022
@nicoloboschi nicoloboschi deleted the ci-move-owasp branch September 12, 2022 13:26
tisonkun pushed a commit to tisonkun/pulsar that referenced this pull request Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants