-
Notifications
You must be signed in to change notification settings - Fork 4
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
Issue 932: Prevent Dependabot version updates from running on HHS:main #944
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@jtwillis92 could you add an ADR to this PR? Template below, please feel free to edit, as needed. 16. Migrating to Github Native Dependabot for TDP Dependency ManagementDate: 2021-05-14 (yyyy-mm-dd) StatusPending ContextCurrently our Snyk configuration is configured on the Additionally, we currently use the Dependabot Preview app which is being deprecated in favor of a GitHub Native Dependabot which has more features and is configured via a YAML file committed to the repo. Proposed DecisionRather than setting up Snyk on a new organization and in order to get ahead on the impending Dependabot migration, We propose an update which provides the necessary YAML config to enable the new GitHub Native version of Dependabot. ConsequencesTo maintain our gitflow:
Pros
Cons
NotesTime estimate for development: n/a. #917 and #932 were created to support this migration and PR #944 complete this migration. |
Completed! Thank you for providing the template 🙌 |
docs/Architecture Decision Record/016-dependabot-dependency-management.md
Outdated
Show resolved
Hide resolved
…nagement.md Co-authored-by: Alex P. <63075587+ADPennington@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deliverable 1: Accepted Features
Performance Standard(s): At the beginning of each sprint, the Product Owner and development team will collaborate to define a set of user stories to be completed during the sprint. Acceptance criteria for each story will also be defined. The development team will deliver code and functionality to satisfy these user stories.
Acceptable Quality Level: Delivered code meets the acceptance criteria for each user story. Incomplete stories will be assessed and considered for inclusion in the next sprint.
- Look up the acceptance criteria in the related issue; paste ACs below in checklist format.
- Check against the criteria:
- Dependabot version update PRs do not get opened against HHS:main
confirmed security-related PRs do not open in hhs repo. to validate version-related PRs don't open upon merge tohhs:main
As Product Owner, @lfrohlich will decide if ACs are met.
- Dependabot version update PRs do not get opened against HHS:main
Deliverable 2: Tested Code
Performance Standard(s): Code delivered under the order must have substantial test code coverage. Version-controlled HHS GitHub repository of code that comprises products that will remain in the government domain.
n/a
Deliverable 3: Properly Styled Code
n/a
Deliverable 4: Accessible
n/a
Deliverable 5: Deployed
n/a
- Was the code successfully deployed via automated CircleCI process to development on Cloud.gov?
Deliverable 6: Documented
no code changes but ADR 016 includes full documentation trail for this change.
Deliverable 7: Secure
Performance Standard(s): Open Web Application Security Project (OWASP) Application Security Verification Standard 3.0
Acceptable Quality Level: Code submitted must be free of medium- and high-level static and dynamic security vulnerabilities
- Does the OWASP Scan pass on CircleCI?
- Do manual code review and manual testing detect any security issues?
none detected
Summary of Changes
Updates the Dependabot configuration to only check dependencies and issue fixes against the branch
raft-tdp-main
. As a result, since the HHS:main repo does not have this branch this will prevent Dependabot PRs from being opened upstream.Additionally, the
labels
configuration was added to set the labels for PRs opened by Dependabot todependencies
,frontend
orbackend
andraft review
to match the labels used on other PRs.Closes #932
How to Test
As with the previous Dependabot PR this change relates to built in functionality of GitHub so our only option to test before merge is to validate the config file by pasting it here
Deliverable 1: Accepted Features
As facilitator/product manager, @kniz-raft will decide if ACs are met from Raft's perspective.
Deliverable 2: Tested Code
N/A no code changes
Deliverable 3: Properly Styled Code
N/A no code changes
Deliverable 4: Accessible
N/A no UX changes
Deliverable 5: Deployed
N/A no changes to deployed sites
Deliverable 6: Documented
N/A no code changes
Deliverable 7: Secure