Skip to content

Commit dea987d

Browse files
authored
Merge pull request #39 from ChenCMD/dist
2 parents 2e13bd4 + f8280ba commit dea987d

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2020-2021 chen
3+
Copyright (c) 2020-2024 chen
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ This GitHub Action performs a static analysis of the datapack document in which
3939

4040
- name: lint
4141
uses: ChenCMD/datapack-linter@v2
42+
with:
43+
GITHUB_TOKEN: ${{ github.token }}
4244
```
4345
4446
@@ -55,6 +57,7 @@ It is also possible to load an arbitrary config file by specifying `configPath`
5557
## 入力 / Inputs
5658
| 名前 Name | 想定する値 / Expect value | 必須 / Require | デフォルト / Default | 概要 / About |
5759
| :-------------------: | :-----------------------: | :------------: | :-----------------------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
60+
| 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. |
5861
| lintDirectory | path | x | `"."` | チェックを行うディレクトリ<br>Directory to lint |
5962
| configPath | path | x | `".vscode/settings.json"` | 校閲ルールを記載したコンフィグファイルのパス<br>Path to the config file containing the lint rules |
6063
| 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 |

index.js

+1-1
Large diffs are not rendered by default.

index.js.map

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)