Skip to content

Commit

Permalink
Merge main into v2
Browse files Browse the repository at this point in the history
  • Loading branch information
greenbonebot committed Jul 4, 2023
2 parents bf3993c + 08eaac8 commit 83eca86
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 31 deletions.
16 changes: 8 additions & 8 deletions backport-pull-request/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dependency-review/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ runs:
BSD-3-Clause,
BSD-2-Clause,
MPL-2.0,
CC-BY-4.0,
CC-BY-SA-4.0,
BSD-2-Clause AND BSD-3-Clause,
MIT OR Apache-2.0,
Expand Down
16 changes: 8 additions & 8 deletions download-artifact/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion lint-python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
| cache | Cache dependencies by setting it to `"true"`. Leave unset or set to an other string then `"true"` to disable the cache. | Optional |
| cache-dependency-path | Used to specify the path to dependency files. Supports wildcards or a list of file names for caching multiple dependencies. | Optional |
| cache-poetry-installation | "Cache poetry and its dependencies. Default is `"true"`. Set to an other string then `"true"` to disable the cache." | Optional (default: `"true"`) |
| install-dependencies | Install project dependencies. Default is `"true"`. Set to an other string then `"true"` to not install the dependencies. | Optional (default: `"true"`)
| install-dependencies | Install project dependencies. Default is `"true"`. Set to an other string then `"true"` to not install the dependencies. | Optional (default: `"true"`) |
| linter | Linter to use. Default is 'pylint'. \[pylint, ruff\]| Optional (default: `"pylint")`|
| working-directory | Working directory where to run the action | Optional (default is `${{ github.workspace }}`) |

11 changes: 5 additions & 6 deletions lint-python/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ inputs:
working-directory:
description: "Working directory where to run the action"
default: ${{ github.workspace }}
linter:
description: "Linter to use. Default is 'pylint'."
default: "pylint"

branding:
icon: "package"
Expand All @@ -46,15 +49,11 @@ runs:
cache-poetry-installation: ${{ inputs.cache-poetry-installation }}
install-dependencies: ${{ inputs.install-dependencies }}
working-directory: ${{ inputs.working-directory }}
- run: echo "Running black"
shell: bash
- run: poetry run black --check --diff ${{ inputs.packages }}
shell: bash
name: Check with black
working-directory: ${{ inputs.working-directory }}
- run: echo "Running pylint"
shell: bash
- run: poetry run pylint ${{ inputs.packages }}
- run: poetry run ${{ inputs.linter }} ${{ inputs.packages }}
shell: bash
name: Check with pylint
name: Check with ${{ inputs.linter }}
working-directory: ${{ inputs.working-directory }}
16 changes: 8 additions & 8 deletions trigger-workflow/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83eca86

Please sign in to comment.