Commit f8cf05e
authored
Pull useful improvements from Community (#7)
# Pull useful improvements from community
## Pull new configuration input feature from related work in community
* Incorporate the feature to optionally include a `config_path` input to
allow further configuration of `bandit`
## Partial version bumps for action dependancies
* Updating to `github/code-action/upload-sarif@v3` presents no
significant changes since `v2` besides the underlying node version.
Details in [relevant project
README](https://github.com/github/codeql-action?tab=readme-ov-file#supported-versions-of-the-codeql-action)
* Updating to `actions/upload-artifact@v4` brings significant changes we
should be aware of. The maintainers have noted that version 4 introduces
breaking changes:
* **GitHub Enterprise Server (GHES) Compatibility**: Support for GHES
versions prior to 3.5 has been discontinued. If you're using an older
GHES version, this update might not be compatible.
* **Default Behavior Adjustments**: There may be changes to default
configurations, such as the default value for retention-days. Deprecated
inputs or features might have been removed as well.
For a comprehensive understanding of these impacts and to ensure
seamless integration, please review the maintainers' notes in the
[upload-artifact project
README](https://github.com/actions/upload-artifact#actionsupload-artifact)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced an optional `config_path` parameter for the Bandit Scan
action, allowing users to specify a configuration file for command line
arguments.
- **Improvements**
- Updated artifact upload steps to use the latest versions of the
actions, enhancing reliability and functionality.
- Added an option to overwrite existing artifacts during upload.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
35 | 39 | | |
36 | 40 | | |
37 | 41 | | |
| |||
102 | 106 | | |
103 | 107 | | |
104 | 108 | | |
105 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
106 | 116 | | |
107 | 117 | | |
108 | 118 | | |
109 | 119 | | |
110 | 120 | | |
111 | 121 | | |
112 | 122 | | |
113 | | - | |
| 123 | + | |
| 124 | + | |
114 | 125 | | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
118 | 129 | | |
119 | 130 | | |
| 131 | + | |
120 | 132 | | |
121 | 133 | | |
122 | 134 | | |
| |||
0 commit comments