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/chore skip version #6

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

fix/chore skip version #6

wants to merge 10 commits into from

Conversation

XavierDefontaine
Copy link

@XavierDefontaine XavierDefontaine commented Oct 28, 2024

Description

Adds the ability to skip versions bumps i.e. below for chore

Example usage:

        - name: Read PR description
          uses: DiceTechnology/pr-changelog-action@v1
          with:
              GITHUB_TOKEN: ${{ secrets.github_token }}
              section_mapping: "### Feature => minor, ### Breaking change => minor, ### Bug fix => patch, ### Chore => skip"

dist/index.js Outdated
Comment on lines 293 to 298
function setFailed(message) {
process.exitCode = ExitCode.Failure;
if (message === 'No version change') {
process.exitCode = ExitCode.Success;
} else {
process.exitCode = ExitCode.Failure;
}
Copy link
Author

@XavierDefontaine XavierDefontaine Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change here

pixare40
pixare40 previously approved these changes Oct 28, 2024
pixare40
pixare40 previously approved these changes Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants