u/Ok_Surround_9683

I need some advice on managing Dependabot + branch workflows.

Current setup:

\- I follow a flow like: "dev → feature branch → back to dev (UAT/testing) → then merge to main (production)"

\- My "dev" branch basically acts as a UAT/staging environment

\- Once everything looks stable, I promote "dev" → "main"

Dependabot setup:

\- Currently configured to run daily scans on the "main" branch

\- It raises PRs directly against "main" when it finds vulnerabilities

\- The Dependabot alerts dashboard also reflects the status of "main" by default

Problem:

My client wants visibility into security issues before code reaches "main". Specifically:

\- They want to track vulnerability counts and fixes on the "dev" branch

\- They expect the dashboard to reflect improvements (reduced alerts) during the UAT phase

\- Basically, "main" should only ever receive “clean” code

What I’ve considered:

\- Switching Dependabot to run on "dev" instead of "main" → but that feels like a workaround, not a proper solution

\- The bigger issue is that GitHub’s Dependabot alerts/dashboard is tied to the default branch ("main")

Question:

\- How are you handling this kind of workflow?

\- Is there a way to make Dependabot alerts reflect "dev" instead of "main"?

\- Also, would changing the default branch from "main" to "dev" be a good idea or considered good practice in this scenario?

Would really appreciate insights from anyone who’s dealt with this.

reddit.com
u/Ok_Surround_9683 — 5 days ago
▲ 2 r/github

I need some advice on managing Dependabot + branch workflows.

Current setup:

- I follow a flow like: "dev → feature branch → back to dev (UAT/testing) → then merge to main (production)"

- My "dev" branch basically acts as a UAT/staging environment

- Once everything looks stable, I promote "dev" → "main"

Dependabot setup:

- Currently configured to run daily scans on the "main" branch

- It raises PRs directly against "main" when it finds vulnerabilities

- The Dependabot alerts dashboard also reflects the status of "main" by default

Problem:

My client wants visibility into security issues before code reaches "main". Specifically:

- They want to track vulnerability counts and fixes on the "dev" branch

- They expect the dashboard to reflect improvements (reduced alerts) during the UAT phase

- Basically, "main" should only ever receive “clean” code

What I’ve considered:

- Switching Dependabot to run on "dev" instead of "main" → but that feels like a workaround, not a proper solution

- The bigger issue is that GitHub’s Dependabot alerts/dashboard is tied to the default branch ("main")

Question:

- How are you handling this kind of workflow?

- Is there a way to make Dependabot alerts reflect "dev" instead of "main"?

- Also, would changing the default branch from "main" to "dev" be a good idea or considered good practice in this scenario?

Would really appreciate insights from anyone who’s dealt with this.

reddit.com
u/Ok_Surround_9683 — 5 days ago
▲ 14 r/powai

Exploring places in Powai

Hey guys, I am 23 F,came across this place on Instagram in Powai called Mad Rage Room. The prices look pretty reasonable and I’ve been wanting to check it out. Thought it’d be more fun to go with a group since Powai doesn’t have a lot going on besides clubbing. If anyone’s interested, hit me up in DMs!

u/Ok_Surround_9683 — 6 days ago