Skip to content

Commit

Permalink
Test no pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKora committed Nov 29, 2023
1 parent e0eb17c commit 9ad0aec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/_pre-commit-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ jobs:
- name: Check if pre-commit ran locally
run: |
if git rev-parse --verify ${{ github.ref }} >/dev/null 2>&1; then
# if git rev-parse --verify ${{ github.ref }} >/dev/null 2>&1; then
if git rev-parse --verify HEAD >/dev/null 2>&1; then
echo "Checking if pre-commit ran locally..."
if [ -f .pre_commit_ran ]; then
echo "Pre-commit checks were run locally."
Expand Down
12 changes: 6 additions & 6 deletions actions/java-maven-test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ This action runs Junit tests and publishes the test results.

| Name | Required | Default Value | Type | Description |
| ------------------ | :------: | :-----------: | :-----: | -------------------------------------------------------------------------------------------------- |
| maven-version | | - | string | Maven version to be installed |
| java-distribution | | microsoft | string | [Java distribution](https://github.com/actions/setup-java#supported-distributions) to be installed |
| java-version | | 11 | string | Java version to be installed |
| working-directory | | "." | string | Working directory of your Maven artifacts |
| download-lfs-files | | false | boolean | Whether the Git checkout action should resolve LFS files or not |
| command | | test | string | Command to run tests with |
| maven-version || - | string | Maven version to be installed |
| java-distribution || microsoft | string | [Java distribution](https://github.com/actions/setup-java#supported-distributions) to be installed |
| java-version || 11 | string | Java version to be installed |
| working-directory || "." | string | Working directory of your Maven artifacts |
| download-lfs-files || false | boolean | Whether the Git checkout action should resolve LFS files or not |
| command || test | string | Command to run tests with |

## Usage

Expand Down

0 comments on commit 9ad0aec

Please sign in to comment.