Skip to content

[improve][ci] Run OWASP dependency check for offloaders and pulsar-io even when main check fails - #21826

Merged
tisonkun merged 1 commit into
apache:masterfrom
lhotari:lh-improve-owasp-check-offloaders-io
Dec 29, 2023
Merged

tisonkun merged 1 commit into
apache:masterfrom
lhotari:lh-improve-owasp-check-offloaders-io

Conversation

@lhotari

@lhotari lhotari commented Dec 29, 2023

Copy link
Copy Markdown
Member

Motivation

Currently the OWASP dependency check won't run for distribution/offloaders and distribution/io (Pulsar IO connectors) when the main distribution's check fails. Example: https://github.com/apache/pulsar/actions/runs/7352401899/job/20017097977
Follow up for #21817.

Modifications

Add if: !cancelled() to run the second step also when the first step fails. (GitHub Actions docs)

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@lhotari lhotari added this to the 3.3.0 milestone Dec 29, 2023
@lhotari lhotari self-assigned this Dec 29, 2023
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Dec 29, 2023
@codecov-commenter

codecov-commenter commented Dec 29, 2023

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.52%. Comparing base (23391d3) to head (84e5ecc).
⚠️ Report is 1379 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #21826       +/-   ##
=============================================
+ Coverage     36.45%   73.52%   +37.07%     
- Complexity    12323    32268    +19945     
=============================================
  Files          1722     1858      +136     
  Lines        131240   138132     +6892     
  Branches      14355    15139      +784     
=============================================
+ Hits          47837   101559    +53722     
+ Misses        77029    28702    -48327     
- Partials       6374     7871     +1497     
Flag Coverage Δ
inttests 24.17% <ø> (-0.01%) ⬇️
systests 23.72% <ø> (-0.02%) ⬇️
unittests 72.81% <ø> (+40.86%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1435 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@tisonkun
tisonkun merged commit e442bb3 into apache:master Dec 29, 2023
lhotari added a commit to lhotari/pulsar that referenced this pull request Jan 2, 2024
- Fix "Invalid workflow file" error
- follow up for apache#21826
- GHA requires "if: ${{ !cancelled() }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants