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
|`file-patterns`|`false`| A whitespace separated list of (Bash standard) glob patterns which specify the files and directories to include in the OFT trace run.<br>If not specified, the local workspace directory is used. |
12
-
|`report-filename`|`true`| The name of the file that OpenFastTrace should write the analysis results to. |
13
-
|`report-format`|`false`| The format of the report that OpenFastTrace should produce. Default value is `plain`. |
14
-
|`fail-on-error`|`false`| By default, the action will never fail but indicate the result of running the trace command in the `oft-exit-code` output variable.<br>Setting this parameter to `true` will let the Action return the exit code produced by running OpenFastTrace. |
|`file-patterns`|`false`| A whitespace separated list of (Bash standard) glob patterns which specify the files and directories to include in the OFT trace run.<br>If not specified, the local workspace directory is used. |
12
+
|`report-filename`|`true`| The name of the file that OpenFastTrace should write the analysis results to. |
13
+
|`report-format`|`false`| The format of the report that OpenFastTrace should produce. Default value is `plain`. |
14
+
|`tags`|`false`| A comma separated list of tags to use for [filtering specification items](https://github.com/itsallcode/openfasttrace/blob/main/doc/user_guide.md#distributing-the-detailing-work).<br>If not set explicitly, all specification items from files matching the file patterns are considered. |
15
+
|`fail-on-error`|`false`| By default, the action will never fail but indicate the result of running the trace command in the `oft-exit-code` output variable.<br>Setting this parameter to `true` will let the Action return the exit code produced by running OpenFastTrace. |
|`oft-exit-code`|`0`: OFT has run successfully and all specification items are covered<br>`>1`: OFT has either failed to run or at least one specification item is not covered. |
22
+
23
+
## Example workflow
24
+
25
+
The following workflow illustrates how the action can be used to trace requirements in the local workspace. The report will always be uploaded as an attachment to the workflow run, even if the trace run fails.
0 commit comments