Skip to content

feat(action): add optional input checkout#6

Merged
remarkablemark merged 1 commit intomasterfrom
feat/action
Mar 26, 2025
Merged

feat(action): add optional input checkout#6
remarkablemark merged 1 commit intomasterfrom
feat/action

Conversation

@remarkablemark
Copy link
Owner

What is the motivation for this pull request?

feat(action): add optional input checkout

What is the current behavior?

You need to add checkout step with fetch-depth set to 0 before running commitlint action:

- uses: actions/checkout@v4
  with:
    fetch-depth: 0
- uses: remarkablemark/commitlint@v1

What is the new behavior?

Action will checkout all history with input:

- uses: remarkablemark/commitlint@v1
  with:
    checkout: true

Checklist:

@remarkablemark remarkablemark added the enhancement New feature or request label Mar 26, 2025
@remarkablemark remarkablemark self-assigned this Mar 26, 2025
@remarkablemark remarkablemark merged commit 66bf0e6 into master Mar 26, 2025
7 checks passed
@remarkablemark remarkablemark deleted the feat/action branch March 26, 2025 01:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant