oscal-compass / compliance-trestle

An opinionated tooling platform for managing compliance as code, using continuous integration and NIST's OSCAL standard.
https://oscal-compass.github.io/compliance-trestle
Apache License 2.0
152 stars 56 forks source link

fix: correct semantic release behaviour #1564

Closed butler54 closed 3 weeks ago

butler54 commented 1 month ago

Types of changes

Quality assurance (all should be covered).

Summary

The objective of this is to fix the build pipeline before there is a breakage. At this stage I have NOT had the change to thoroughly test the Uploading behaviour, however, forking and updating is going to be difficult.

This transitions to OIDC based authentication for upload as opposed to pypi authentication. The instructions here: https://docs.pypi.org/trusted-publishers/adding-a-publisher/ must be setup.

This will include ensure the github actions environment is setup.

Key links:

Before you merge

butler54 commented 1 month ago

@vikas-agarwal76 - This will need some active participation on your part and/or others associated who now own the project in pypi.

butler54 commented 1 month ago

@AleJo2995 - your breaking change didn't work either when testing.

BREAKING CHANGE: declarations need to be part of the body not the header of the commit - see https://python-semantic-release.readthedocs.io/en/latest/commit-parsing.html