MyFinances icon indicating copy to clipboard operation
MyFinances copied to clipboard

Feature: Added management bot for comments

Open TreyWW opened this issue 1 year ago • 4 comments

Description

Added a management bot for issue + pr comments to allow for better labelling

Progress:

  • [x] /add_label(s)
  • [x] /remove_label(s)
  • [ ] Ability to "wait for reply" and dynamically set labels

TreyWW avatar May 31 '24 21:05 TreyWW

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

.github/management_bot/pulumi/requirements.txt

PackageVersionLicenseIssue Type
pulumi-aws>= 6.0.2,NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
pip/pulumi >= 3.0.0, :green_circle: 6.3
Details
CheckScoreReason
Maintained:green_circle: 1030 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10
Code-Review:green_circle: 10all changesets reviewed
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
License:green_circle: 10license file detected
Branch-Protection:warning: -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Signed-Releases:green_circle: 85 out of the last 5 releases have a total of 5 signed artifacts.
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Security-Policy:green_circle: 10security policy file detected
Packaging:warning: -1packaging workflow not detected
Token-Permissions:warning: 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts:green_circle: 9binaries present in source code
SAST:warning: 0SAST tool is not run on all commits -- score normalized to 0
Pinned-Dependencies:warning: 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing:green_circle: 10project is fuzzed
Vulnerabilities:warning: 011 existing vulnerabilities detected
pip/pulumi-aws >= 6.0.2, UnknownUnknown
actions/actions/checkout 2.*.* :green_circle: 7.1
Details
CheckScoreReason
Code-Review:green_circle: 10all changesets reviewed
Maintained:green_circle: 78 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 7
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
License:green_circle: 10license file detected
Signed-Releases:warning: -1no releases found
Branch-Protection:warning: -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Binary-Artifacts:green_circle: 10no binaries found in the repo
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Token-Permissions:warning: 0detected GitHub workflow tokens with excessive permissions
Fuzzing:warning: 0project is not fuzzed
Pinned-Dependencies:green_circle: 3dependency not pinned by hash detected -- score normalized to 3
Packaging:green_circle: 10packaging workflow detected
Security-Policy:green_circle: 9security policy file detected
SAST:green_circle: 9SAST tool detected but not run on all commits
Vulnerabilities:green_circle: 91 existing vulnerabilities detected
actions/actions/setup-python 2.*.* :green_circle: 6.1
Details
CheckScoreReason
Code-Review:green_circle: 10all changesets reviewed
Maintained:green_circle: 1012 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
License:green_circle: 10license file detected
Signed-Releases:warning: -1no releases found
Branch-Protection:warning: -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Binary-Artifacts:green_circle: 10no binaries found in the repo
Packaging:warning: -1packaging workflow not detected
Token-Permissions:warning: 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies:warning: 0dependency not pinned by hash detected -- score normalized to 0
Fuzzing:warning: 0project is not fuzzed
Security-Policy:green_circle: 9security policy file detected
SAST:green_circle: 9SAST tool is not run on all commits -- score normalized to 9
Vulnerabilities:warning: 012 existing vulnerabilities detected
actions/actions/upload-artifact 2.*.* :green_circle: 6.7
Details
CheckScoreReason
Code-Review:green_circle: 8Found 7/8 approved changesets -- score normalized to 8
Maintained:green_circle: 1022 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
CII-Best-Practices:warning: 0no effort to earn an OpenSSF best practices badge detected
License:green_circle: 10license file detected
Signed-Releases:warning: -1no releases found
Branch-Protection:warning: -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Packaging:warning: -1packaging workflow not detected
Binary-Artifacts:green_circle: 10no binaries found in the repo
Dangerous-Workflow:green_circle: 10no dangerous workflow patterns detected
Token-Permissions:warning: 0detected GitHub workflow tokens with excessive permissions
Fuzzing:warning: 0project is not fuzzed
Pinned-Dependencies:warning: 1dependency not pinned by hash detected -- score normalized to 1
Security-Policy:green_circle: 9security policy file detected
SAST:green_circle: 10SAST tool is run on all commits
Vulnerabilities:green_circle: 73 existing vulnerabilities detected

Scanned Manifest Files

.github/management_bot/pulumi/requirements.txt
  • pulumi@>= 3.0.0,
  • pulumi-aws@>= 6.0.2,
.github/workflows/management_bot_lambda.yml
  • actions/checkout@2.*.*
  • actions/setup-python@2.*.*
  • actions/upload-artifact@2.*.*

github-actions[bot] avatar May 31 '24 21:05 github-actions[bot]

/help

TreyWW avatar May 31 '24 21:05 TreyWW

Hi @TreyWW,

My available commands:

Command Description Arg Types Example
/add_label Adds one label string /add_label bug
/add_labels Adds multiple labels list[string] /add_label bug enhancement
/remove_label Removes one label string /remove_label bug
/remove_labels Removes multiple labels list[string] /remove_labels bug enhancement

Added responses

TreyWW avatar May 31 '24 22:05 TreyWW