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
_[](https://github.com/marketplace/actions/run-flow-scanner) - For more info on the rules and configurations, please review the [Scanner Documentation](https://flow-scanner.github.io/lightning-flow-scanner-core/)._
- Workflows have read and write permissions in the repository.
39
47
- Allow GitHub Actions to create and approve pull requests.
40
48
41
-
### A) Automatically Runs On Pull Requests:
49
+
### Run On Pull Requests
42
50
43
51
`on:pull_request`will trigger Flow Scanner to scan changed flow files every time a pull request is opened.
44
52
45
-
### B) Or Run It Manually:
53
+
### Manual Action
46
54
47
55
`on:workflow_dispatch` allows you to run the action on all Flows manually, by following these steps:
48
56
1. Navigate to the "Actions" tab of your GitHub repository.
@@ -57,7 +65,7 @@ Flow Scanner can be configured and the action will look for a .flow-scanner file
57
65
- `.flow-scanner.yml`
58
66
- `.flow-scanner.json`
59
67
60
-
### Example configuration
68
+
*Configuration example(snippet):*
61
69
62
70
```
63
71
rules:
@@ -67,12 +75,10 @@ rules:
67
75
severity: error
68
76
```
69
77
70
-
For example:
71
-
72
78
- With `severityThreshold`: `error`, only `HardcodedId` will fail.
73
79
- With `severityThreshold`: `warning`, both `HardcodedId `and `FlowName` will fail the workflow.
74
80
75
-
If no configurations are found, the scanner falls back to the default rules/threshold.
81
+
For more information about available rules and configurations, please review the [Core Module Documentation](https://flow-scanner.github.io/lightning-flow-scanner-core/).
0 commit comments