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

Use distinct PR label for json schema breaking changes #2371

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

wagoodman
Copy link
Contributor

Take a look at the audit history from #2369:

Screenshot 2023-11-28 at 5 15 32 PM

I added the breaking-change label manually when creating the PR, then the detect-schema-change workflow removed it https://github.com/anchore/syft/actions/runs/7025013046/job/19114982760:

Screenshot 2023-11-28 at 5 16 48 PM

The intended behavior is to only remove the breaking change label when it is applied by automation (not a user). The easiest way to fix this is to choose a distinct label, in this case detected-breaking-change. A consequence of this is that to add the label to the chronicle list of labels to consider, a full chronicle config needs to be checked in.

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
@wagoodman wagoodman added breaking-change Change is not backwards compatible changelog-ignore Don't include this issue in the release changelog labels Nov 28, 2023
@github-actions github-actions bot removed the breaking-change Change is not backwards compatible label Nov 28, 2023
@wagoodman
Copy link
Contributor Author

The pull_request_target event type prevents me from being able to test the changes for this script on this PR (it is run with changes from the main branch by design). This is why the breaking change label was still removed on this PR.

@wagoodman wagoodman marked this pull request as ready for review November 28, 2023 22:43
@wagoodman wagoodman requested a review from a team November 28, 2023 22:43
@wagoodman wagoodman added the bug Something isn't working label Nov 28, 2023
@wagoodman wagoodman enabled auto-merge (squash) November 28, 2023 22:46
@wagoodman wagoodman merged commit c379d21 into main Nov 28, 2023
10 checks passed
@wagoodman wagoodman deleted the fix-labeler-workflow branch November 28, 2023 22:59
spiffcs added a commit to coheigea/syft that referenced this pull request Dec 5, 2023
* main: (40 commits)
  chore(deps): bump anchore/sbom-action from 0.15.0 to 0.15.1 (anchore#2392)
  Retrieve remote licenses using pom.properties when there is no pom.xml (anchore#2315)
  fix(java): improve identification for org.apache.tapestry artifacts (anchore#2384)
  fix(java): improve identification for io.ratpack artifacts (anchore#2379)
  fix(java): improve identification for org.apache.cassandra artifacts (anchore#2386)
  fix(java): improve identification for org.neo4j.procedure artifacts (anchore#2388)
  fix: bump fangs for ptr summarize fix (anchore#2387)
  fix(java): improve identification for org.elasticsearch artifacts (anchore#2383)
  fix(java): improve identification for org.apache.geode artifacts (anchore#2382)
  fix(java): improve identification for org.apache.tomcat.embed artifacts (anchore#2381)
  fix(java): improve identification for io.projectreactor.netty artifacts (anchore#2378)
  fix(java): improve identification for org.eclipse.platform artifacts (anchore#2349)
  Generalize UI events for cataloging tasks (anchore#2369)
  chore(deps): update tools to latest versions (anchore#2376)
  chore(deps): bump github.com/google/go-containerregistry (anchore#2377)
  chore: fix tests failing due to Mac Rosetta cache (anchore#2374)
  fix: improve dotnet portable executable identification (anchore#2133)
  fix file metadata cataloger to use resolved locations (anchore#2370)
  fix: logging level for parsing potential PE files (anchore#2367)
  only remove breaking-change label when there are schema changes (anchore#2371)
  ...

Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
…ore#2371)

Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog-ignore Don't include this issue in the release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants