Skip to content

Commit

Permalink
Merge pull request #39 from ChenCMD/dist
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenCMD authored Jan 12, 2024
2 parents 2e13bd4 + f8280ba commit dea987d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2021 chen
Copyright (c) 2020-2024 chen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ This GitHub Action performs a static analysis of the datapack document in which

- name: lint
uses: ChenCMD/datapack-linter@v2
with:
GITHUB_TOKEN: ${{ github.token }}
```
Expand All @@ -55,6 +57,7 @@ It is also possible to load an arbitrary config file by specifying `configPath`
## 入力 / Inputs
| 名前 Name | 想定する値 / Expect value | 必須 / Require | デフォルト / Default | 概要 / About |
| :-------------------: | :-----------------------: | :------------: | :-----------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| GITHUB_TOKEN | GitHub token | x | N/A | GitHub のトークン。このトークンは pull_request イベントで linter を使用する際に設定することを推奨します。<br>A GitHub token. It is recommended that this token be set when using linter in pull_request events. |
| lintDirectory | path | x | `"."` | チェックを行うディレクトリ<br>Directory to lint |
| configPath | path | x | `".vscode/settings.json"` | 校閲ルールを記載したコンフィグファイルのパス<br>Path to the config file containing the lint rules |
| forcePass | `true` | x | `false` | チェックに失敗した Datapack ドキュメントが存在するときに step そのものを失敗させるか否か<br>Whether or not to fail the step itself when there is a Datapack document that fails the lint |
Expand Down
2 changes: 1 addition & 1 deletion index.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.js.map

Large diffs are not rendered by default.

0 comments on commit dea987d

Please sign in to comment.