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

chore(dependabot): Remove enable auto-merge #10158

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

kavirajk
Copy link
Contributor

@kavirajk kavirajk commented Aug 3, 2023

What this PR does / why we need it:
After some debugging and discussing with internal security squad, the core problem for the this permission issue with auto-merge is

GraphQL: ["Pull request User is not authorized for this protected branch"] (enablePullRequestAutoMerge)

The settings "Restrict who can push it to protected branch" rule we have main branch.

And currently no way to add github-action user to this list (there is an open discussion https://github.com/orgs/community/discussions/25305

I proposed an idea to use some "real" user's (even grafana-bot) token to do the "auto-merge". But that is still under review by security squad.

Meanwhile, to unblock merging any dependabot PR, I'm removing this step.

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:
Related to #10126 #10141 #10144

Checklist

After some debugging and discussing with internal security squad, the core problem for the this permission issue with auto-merge is
```
GraphQL: ["Pull request User is not authorized for this protected branch"] (enablePullRequestAutoMerge)
```

The settings "Restrict who can push it to protected branch" rule we have `main` branch.

And currently no way to add `github-action` user to this list (there is an open discussion
https://github.com/orgs/community/discussions/25305

I proposed an idea to use some "real" user's (even grafana-bot) token to do the "auto-merge". But that is still under review by security
squad.

Meanwhile, to unblock merging any dependabot PR, I'm removing this check.

Signed-off-by: Kaviraj <kavirajkanagaraj@gmail.com>
@kavirajk kavirajk requested a review from a team as a code owner August 3, 2023 07:30
@kavirajk kavirajk merged commit f937d02 into main Aug 3, 2023
4 checks passed
@kavirajk kavirajk deleted the kavirajk/tweak-dependabot-merge-workflow branch August 3, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants