Pull requests are made when a developer forks a project, makes changes, and then wants those changes to be included in the main project again. These were made popular by Github and Bitbucket.
Questions tagged [pull-request]
2166 questions
0
votes
0 answers
GitHub doesn't recognize file encoding change
I'm using Eclipse and I had UTF-8 so all accents for the comments in the changed files were converted to some wrong symbols.
I need my files have cp-1252 so I went to eclipse preferences changed my encoding, corrected the accent letters, did a PR…

Martin
- 767
- 2
- 9
- 21
0
votes
1 answer
Trigger a GitHub Action run when complete PR require approvals
I want to trigger tests through Github Actions when a PR completes code review. I have set Required number of approvals before merging to 2, but I couldn't find any relevant events in the documentation. I hope to trigger the tests when both of the…

Max
- 836
- 6
- 13
0
votes
0 answers
Find PRs in GitHub where I am author, reviewer, or assignee
From GitHub.com, I'd like to see all open PRs where I am the author, reviewer, or assignee.
From github.com/pulls, I can filter with something like is:open is:pr author:@me but effectively I would like to OR or UNION such a filter. Ideally, I wish…

Patrick Szalapski
- 8,738
- 11
- 67
- 129
0
votes
0 answers
Can we attach a label to GitHub pull request, if build/status check is fine?
I have a situation, where i need to attach already created label ("Verified Build") to the Pull Request, if build/status check for that PR is green/fine.
Steps:
User created a PR
Started Build/Status check
if check is fine, add label as ("Verified…

new_bie
- 15
- 4
0
votes
0 answers
Blocking a PR based on JIRA ticket status
This can sound a bit weird but here's what I'm trying to achieve:
For certain JIRA tickets that will need to go under release management, I want to block the PRs associated with those tickets in Github. So for instance, let's say one ticket has a…

AlejandroVK
- 7,373
- 13
- 54
- 77
0
votes
1 answer
git PR from one branch to base shows no diff where I expected a diff?
I first created a branch, let's call it base.
I pushed that branch to the remote.
I then realized that base was too big, and wanted to extract some stuff into its own branch/PR.
I created small off base.
Pushed small to remote
I then basically…

transient_loop
- 5,984
- 15
- 58
- 117
0
votes
1 answer
How can I require reviews from a specific group for only the main branch?
In Azure Dev Ops, I was able to set it so that PRs into the develop branch just required an approval from anyone, while PRs into the main (production) branch required approval from a specific set of high-level approvers. How can I do the same thing…

SaintWacko
- 854
- 3
- 14
- 35
0
votes
0 answers
Prevent GitHub Write role from approving PRs
I manage a GitHub organization in which users submit PRs, receive approvals from other users, then merge their own PRs into the main branch.
However, I'd like approval reviews to be granted not by anyone with the Write role, but rather by higher-ups…
0
votes
0 answers
API to get the link of created PR via Azure DevOps
I have the following script to create a PR via Azure DevOps automatically:
CreatePRBuildTask.ps1
$user = ""
$branchTarget = "refs/heads/main"
$branchSource = "refs/heads/develop"
$branchTargetPath = $branchTarget -replace "refs/heads/",…

user989988
- 3,006
- 7
- 44
- 91
0
votes
0 answers
How to disable the "minimum successful builds" requirement for Bitbucket Cloud pull requests?
I want to allow my users to disable the "minumum successful builds" requirement in the Bitbucket Cloud pull request merge checklist. How can I do this?
Some of our PRs are for documentation edits that have no effect on compiled or executed code.…

Ray Depew
- 573
- 1
- 9
- 22
0
votes
0 answers
Only allow administrators to bypass required reviews, and not bypass entire PR process
We have a GitHub repository to which multiple users have access. The idea is that everyone must create a pull request before merging to the main branch, rather than committing and pushing directly to it.
I would like to enable required reviews for…

theo
- 149
- 8
0
votes
1 answer
How to push local changes to a contributor's fork of the repo?
With github, I've got a contributor who opened a PR. I cloned their branch, and have now made my own changes on top of their original changes.
I want to push my local changes to his branch, so that they appear on the PR. I can do this via the github…

beyarkay
- 513
- 3
- 16
0
votes
0 answers
why all Azure pipelines are triggered by merging a pull request to Main branch?
I have two pipelines setup on a GitHub repo ProjectA, one for building ProjectA (DEMO-ProjectA) and another for the Veracode scan of the binaries(DEMO-ProjectA-Veracode).
And there are three branches in repo ProjectA: Main, Dev, Veracode.
I…

Ming
- 379
- 1
- 6
- 20
0
votes
0 answers
Automated creation of GIT Pull Requests through Azure DevOps Build pipelines
I have the following script to create a PR via Azure DevOps automatically:
CreatePRBuildTask.ps1
$user = ""
$branchTarget = "refs/heads/main"
$branchSource = "refs/heads/develop"
$branchTargetPath = $branchTarget -replace "refs/heads/",…

user989988
- 3,006
- 7
- 44
- 91
0
votes
1 answer
How to run a GHA when the PR is MERGED?
im using github enterprise
i need a github action with 2 steps: 1st runnning whenever a pull-request is opened from 'head' branch to 'base' and the 2nd when the PR is merged.
for now i've created 2 github actions for it:
name: PR Opened
on:
…

servusMori
- 9
- 1
- 4