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

fix: Fix PR Label Check for False Positive Issues #2537

Merged
merged 1 commit into from
May 28, 2024

Conversation

AlfredoG87
Copy link
Collaborator

@AlfredoG87 AlfredoG87 commented May 25, 2024

Description:
Sometimes there are descriptions, in the snyks and dependabots that reference tickets from other repos, and also have the pattern #, so the script was failing with 404 due to not finding the supposedly associated issues.

Now, if there is a 404 we assume is a false positive and ignore it.

Adding a false positive below, for the test of it.

Related issue(s):

Fixes #9999999

Notes for reviewer:

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

…matching.

Signed-off-by: Alfredo Gutierrez <alfredo@swirldslabs.com>
@AlfredoG87 AlfredoG87 self-assigned this May 25, 2024
@AlfredoG87 AlfredoG87 added the bug Something isn't working label May 25, 2024
Copy link

sonarcloud bot commented May 25, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@AlfredoG87 AlfredoG87 added this to the 0.49.0 milestone May 25, 2024
Copy link

Tests

    2 files  149 suites   13s ⏱️
833 tests 832 ✔️ 1 💤 0
845 runs  844 ✔️ 1 💤 0

Results for commit 2dfc3ff.

@AlfredoG87 AlfredoG87 changed the title Fix PR Label Check for False Positive Issues fix: Fix PR Label Check for False Positive Issues May 25, 2024
@AlfredoG87 AlfredoG87 marked this pull request as ready for review May 25, 2024 02:43
@AlfredoG87 AlfredoG87 requested a review from a team as a code owner May 25, 2024 02:43
Copy link

github-actions bot commented May 25, 2024

Acceptance Tests

     27 files     363 suites   45m 29s ⏱️
   593 tests    583 ✔️ 3 💤   7
1 433 runs  1 410 ✔️ 9 💤 14

Results for commit 2dfc3ff.

♻️ This comment has been updated with latest results.

@AlfredoG87 AlfredoG87 merged commit 2ee70c7 into main May 28, 2024
37 of 39 checks passed
@AlfredoG87 AlfredoG87 deleted the fix-pr-label-check branch May 28, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants