Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Added management bot for comments #397

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from

Conversation

TreyWW
Copy link
Owner

@TreyWW TreyWW commented May 31, 2024

Description

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

Progress:

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

Copy link
Contributor

github-actions bot commented May 31, 2024

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,< 7.0.0NullUnknown License

OpenSSF Scorecard

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

Scanned Manifest Files

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

@TreyWW
Copy link
Owner Author

TreyWW commented May 31, 2024

/help

@myfinances-management
Copy link

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

@TreyWW
Copy link
Owner Author

TreyWW commented May 31, 2024

Added responses

Signed-off-by: Trey <[email protected]>
@github-actions github-actions bot added the Stale label Jun 18, 2024
@github-actions github-actions bot closed this Jun 23, 2024
@TreyWW TreyWW removed the Stale label Jun 24, 2024
@TreyWW TreyWW reopened this Jun 24, 2024
@github-actions github-actions bot added the Stale label Jul 5, 2024
@github-actions github-actions bot closed this Jul 10, 2024
@TreyWW TreyWW reopened this Jul 10, 2024
@TreyWW TreyWW added no-stale and removed Stale labels Jul 10, 2024
Signed-off-by: Trey <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant