Minor Cleanup

This commit is contained in:
2023-05-24 10:48:44 +02:00
parent 68f07553f9
commit 6a60e88f40
4 changed files with 17 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ The following parameters can be used in your custom action configuration.
| dry | :x: | false | Dry-run the action to fail when detecting uncompliant files, instead of automatically fixing them. |
| github_token | :x: | `${{ github.token }}` | The default [GITHUB_TOKEN](https://docs.github.com/en/actions/reference/authentication-in-a-workflow#about-the-github_token-secret) or a [Personal Access Token](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)
> Note: using the same_commit option may lead to problems if other actions are relying on the commit being the same before and after the prettier action has ran. Keep this in mind.
### Example
This is a simple usage example of this script:
@@ -46,6 +48,8 @@ jobs:
options: --in-place --remove-all-unused-imports -r
```
More documentation for writing a workflow can be found [here](https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions).
## Issues
Please report all bugs and feature request using the [GitHub issues function](https://github.com/creyD/autoflake_action/issues/new).