diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index db9d1d57..aa809510 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -1,6 +1,8 @@ name: Static Analysis -on: [pull_request] +on: + pull_request: + workflow_dispatch: jobs: pre-commit: diff --git a/.pre-commit-config-ci.yaml b/.pre-commit-config-ci.yaml index 5c57ede5..e8918c28 100644 --- a/.pre-commit-config-ci.yaml +++ b/.pre-commit-config-ci.yaml @@ -8,8 +8,7 @@ repos: - id: check-yaml - id: check-xml - id: check-added-large-files - args: - - --maxkb=50000 + args: [--maxkb=50000] - id: check-json # Checks json files for parsable syntax. - id: pretty-format-json # Sets a standard for formatting json files. args: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7404fca6..43127352 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,8 +8,7 @@ repos: - id: check-yaml - id: check-xml - id: check-added-large-files - args: - - --maxkb=50000 + args: ["--maxkb=50000"] - id: check-json # Checks json files for parsable syntax. - id: pretty-format-json # Sets a standard for formatting json files. args: