Skip to content

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

Merged
nicoloboschi merged 4 commits into
apache:masterfrom
nicoloboschi:ci-move-owasp
Sep 12, 2022
Merged

[ci] Move owasp check into the main workflow#17568
nicoloboschi merged 4 commits into
apache:masterfrom
nicoloboschi:ci-move-owasp

Conversation

@nicoloboschi

Copy link
Copy Markdown
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

Comment thread .github/workflows/pulsar-ci.yaml Outdated
Comment thread .github/workflows/pulsar-ci.yaml Outdated
@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