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

Updater overwrites user PRs #56

Closed
vaind opened this issue Apr 12, 2023 · 1 comment · Fixed by #62
Closed

Updater overwrites user PRs #56

vaind opened this issue Apr 12, 2023 · 1 comment · Fixed by #62
Labels
bug Something isn't working

Comments

@vaind
Copy link
Collaborator

vaind commented Apr 12, 2023

The check to not overwrite PRs with contributions from other users (introduced by #50) seems broken, see https://github.com/getsentry/sentry-react-native/actions/runs/4674147763/jobs/8278069442#step:5:34

Run $mainBranch = $(git remote show origin | Select-String "HEAD branch: (.*)").Matches[0].Groups[1].Value
baseBranch=main
prBranch=deps/scripts/update-javascript.sh
Looking for commits on [email protected]:getsentry/sentry-react-native.git branch 'deps/scripts/update-javascript.sh' that were made by someone else than <[email protected]>
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: ambiguous argument 'origin/main..origin/deps/scripts/update-javascript.sh': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
fatal: ambiguous argument 'origin/main..origin/deps/scripts/update-javascript.sh': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Removing /tmp/b8c487ed-c3f2-4a[43](https://github.com/getsentry/sentry-react-native/actions/runs/4674147763/jobs/8278069442#step:5:44)-b7d8-16ddc[49](https://github.com/getsentry/sentry-react-native/actions/runs/4674147763/jobs/8278069442#step:5:50)7c0f8
changed=false
@vaind vaind added the bug Something isn't working label Apr 12, 2023
@vaind
Copy link
Collaborator Author

vaind commented Apr 12, 2023

cc @krystofwoldrich

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant