Commit 4cf89a2
authored
feat: set default ignored accounts and the ability to specify (RD-2964) (#79)
* feat(RD-2964): add support for ignored accounts in static analysis action
Enhances the StaticAnalysis class to allow specifying accounts to ignore during commit hash checks. This addition improves the flexibility of the static analysis action by enabling users to exclude certain accounts from warnings related to commit hash usage.
* feat(RD-2964): integrate ignored accounts into static analysis action
Updates the static analysis action to accept a list of accounts to ignore during commit hash checks. This enhancement allows users to exclude specific accounts from warnings, improving the action's flexibility and usability.
* feat(RD-2964): enhance static analysis action with ignored accounts input
Adds an input parameter to the static analysis action for specifying a comma-separated list of accounts to ignore during analysis. This update improves the action's configurability and user experience by allowing exclusions of specific accounts from warnings.
* feat(RD-2964): add logging for ignored accounts in static analysis action
Enhances the static analysis action by adding console logging for ignored accounts and the current account being processed. This improvement aids in debugging and provides better visibility into the action's behavior during execution.
* fix: correct indentation in static analysis action for ignored accounts logging
This update fixes the indentation in the StaticAnalysis class constructor, ensuring proper formatting and readability of the code. The change enhances maintainability without altering functionality.
* fix: update regex for account extraction in static analysis action
This change modifies the regex used in the StaticAnalysis class to correctly capture the account and reference from the 'uses' field in GitHub Actions. The update ensures accurate logging of accounts during static analysis, enhancing the action's functionality and debugging capabilities.
* fix: refine account extraction logic in static analysis action
This update modifies the account extraction logic in the StaticAnalysis class to split the account string and capture only the relevant portion. This change enhances the accuracy of account logging during static analysis, improving the overall functionality of the action.
* refactor: remove console logging for ignored accounts in static analysis action
This update removes unnecessary console logging for ignored accounts and the current account being processed in the StaticAnalysis class. The change streamlines the code and enhances readability without affecting the action's functionality.1 parent dce2b04 commit 4cf89a2
2 files changed
Lines changed: 19 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
| |||
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
15 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| 98 | + | |
93 | 99 | | |
94 | 100 | | |
95 | | - | |
| 101 | + | |
96 | 102 | | |
0 commit comments