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

pull request automation - ideation #57

Open
frasertweedale opened this issue Jun 20, 2023 · 0 comments
Open

pull request automation - ideation #57

frasertweedale opened this issue Jun 20, 2023 · 0 comments

Comments

@frasertweedale
Copy link
Collaborator

It is clear that we want some pull request automation, both to assist contributors to write a correct
and useful advisory, and to assist the SRT by automating some things. It seems like a webhook "github app"
is the best approach. It will need a token with write access to the repo and we'll need to host it somewhere.
Here are some ideas about what it could do:

  • if CVSS and CWE are not set, write a comment pointing to helpful resources
  • when CVSS and CWE are set, write a comment explaining their values
  • recognise commands to update the PR:
  • if Allow edits and access to secrets by maintainers is set for the PR, the app should be able to push (and force-push) to the head branch of the PR, even in forks
  • Recognise the /cwe, /cvss, /keywords to update those fields
  • When PR is approved by SRT, automatically assign an HSEC-id, and update the head branch (rename file and update TOML id field)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant