You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `path` | Path to the directory containing OPA Rego files to test | Yes | REQUIRED |
85
-
| `test_mode` | Whether to test the Rego by an entire directory (including entire package, e.g. `opa test ./`) or by individual files (e.g. `opa test a_test.rego a.rego`). Options of `directory` or `file`. Default is `directory`. | No | `test` |
86
-
| `test_file_postfix` | Postfix of the test files to run (e.g. notification.rego <> notification_test.rego) | No | `_test` |
87
-
| `write_pr_comment` | Flag to write a user-friendly PR comment with test results | No | `true` |
88
-
| `pr_comment_title` | Title of the PR comment for test results | No | `🧪 OPA Rego Policy Test Results` |
89
-
| `pr_comment_mode` | Mode that will be used to update comment. Options of upsert (update in place) or recreate. | No | `upsert` |
90
-
| `run_coverage_report` | Flag to run OPA coverage tests and include in PR comment | No | `true` |
91
-
| `report_untested_files` | Check & report Rego files without corresponding test files | No | `false` |
92
-
| `opa_version` | Version of the OPA CLI to use. | No | `1.4.2` |
93
-
| `opa_static` | Whether to use the static binary for OPA installation. use. | No | `false` |
94
-
| `indicate_source_message` | Flag to comment the origins watermark (this repository) of the GitHub Action in the PR comment. | No | `true` |
| `path` | Path to the directory containing OPA Rego files to test | Yes | REQUIRED |
85
+
| `test_mode` | Whether to test the Rego by an entire directory (including entire package, e.g. `opa test ./`) or by individual files (e.g. `opa test a_test.rego a.rego`). Options of `directory` or `file`. | No | `directory` |
86
+
| `test_file_postfix` | Postfix of the test files to run (e.g. notification.rego <> notification_test.rego) | No | `_test` |
87
+
| `write_pr_comment` | Flag to write a user-friendly PR comment with test results | No | `true` |
88
+
| `pr_comment_title` | Title of the PR comment for test results | No | `🧪 OPA Rego Policy Test Results` |
89
+
| `pr_comment_mode` | Mode that will be used to update comment. Options of upsert (update in place) or recreate. | No | `upsert` |
90
+
| `run_coverage_report` | Flag to run OPA coverage tests and include in PR comment | No | `true` |
91
+
| `report_untested_files` | Check & report Rego files without corresponding test files | No | `false` |
92
+
| `opa_version` | Version of the OPA CLI to use. | No | `1.4.2` |
93
+
| `opa_static` | Whether to use the static binary for OPA installation. use. | No | `false` |
94
+
| `indicate_source_message` | Flag to comment the origins watermark (this repository) of the GitHub Action in the PR comment. | No | `true` |
0 commit comments