Skip to content

Commit

Permalink
Clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelKora committed Dec 1, 2023
1 parent b48008e commit cdcecd8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
1 change: 1 addition & 0 deletions actions/action-lint/action.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: "Lint actions and workflows"
description: "Lint all actions and workflows of a repository"
inputs:

reff:
description: "The ref name to checkout the repository."
required: false
Expand Down
12 changes: 4 additions & 8 deletions docs/references/actions/action-lint/Variables.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
# Refenrences action-lint composite action

## Inputs

<!-- AUTO-DOC-INPUT:START - Do not remove or modify this section -->

| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
| ------------------- | ------ | -------- | ----------- | ------------------------------------------ |
| action-lint-version | string | false | `"v1.6.22"` | The action lint repository version to use. |
| reff | string | false | | The ref name to checkout the repository. |
| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION |
|---------------------|--------|----------|-------------|--------------------------------------------|
| action-lint-version | string | false | `"v1.6.22"` | The action lint repository version to use. |
| reff | string | false | | The ref name to checkout the repository. |

<!-- AUTO-DOC-INPUT:END -->

## Outputs

<!-- AUTO-DOC-OUTPUT:START - Do not remove or modify this section -->

No outputs.

<!-- AUTO-DOC-OUTPUT:END -->
4 changes: 2 additions & 2 deletions format_md_with_dprint.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import subprocess
import sys
import os
# import os


def format_md_with_dprint(files):
Expand All @@ -10,7 +10,7 @@ def format_md_with_dprint(files):

if __name__ == "__main__":
# Get the list of files from pre-commit arguments
files_to_format = sys.argv[1:]
# files_to_format = sys.argv[1:]

# Format Markdown files with dprint
format_md_with_dprint(files_to_format)
Expand Down
1 change: 0 additions & 1 deletion generate-doc.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def run():


if __name__ == "__main__":

run()
# exit succcesfully
# os._exit(0)

0 comments on commit cdcecd8

Please sign in to comment.