diff options
-rw-r--r-- | .github/workflows/check.yml | 6 | ||||
-rw-r--r-- | .gitlint | 8 | ||||
-rw-r--r-- | bors.toml | 1 |
3 files changed, 5 insertions, 10 deletions
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index d920ab6..9b3e086 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -30,10 +30,4 @@ jobs: - name: Install gitlint run: pip install gitlint - run: gitlint --commits $(git merge-base origin/main HEAD).. - fixup-check: - runs-on: ubuntu-latest - if: github.event_name == 'pull_request' - steps: - - uses: actions/checkout@v3.3.0 - - uses: 13rac1/block-fixup-merge-action@v2.0.0 @@ -14,7 +14,7 @@ ignore=body-is-missing # verbosity should be a value between 1 and 3, the commandline -v flags take precedence over this # verbosity = 2 -# By default gitlint will ignore merge, revert, fixup and squash commits. +# By default gitlint will ignore merge, revert, fixup and squash commits. ignore-merge-commits=true # ignore-revert-commits=true # ignore-fixup-commits=true @@ -23,7 +23,7 @@ ignore-merge-commits=true # Ignore any data send to gitlint via stdin # ignore-stdin=true -# Fetch additional meta-data from the local repository when manually passing a +# Fetch additional meta-data from the local repository when manually passing a # commit message to gitlint via stdin or --commit-msg. Disabled by default. # staged=true @@ -38,7 +38,7 @@ ignore-merge-commits=true # Enable community contributed rules # See http://jorisroovers.github.io/gitlint/contrib_rules for details -contrib=CC1 +contrib=CC1, CC2 # Set the extra-path where gitlint will search for user defined rules # See http://jorisroovers.github.io/gitlint/user_defined_rules for details @@ -134,3 +134,5 @@ regex=(.*)dependabot(.*)|github-actions\[bot\] # types = bugfix,user-story,epic [contrib-body-requires-signed-off-by] +[contrib-disallow-cleanup-commits] + @@ -12,7 +12,6 @@ pr_status = [ # Github Actions "license", "dco-check", - "fixup-check", ] update_base_for_deletes = true cut_body_after = "<details>" |