Skip to content

Updater overwrites user PRs #56

@vaind

Description

@vaind

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 git@github.com:getsentry/sentry-react-native.git branch 'deps/scripts/update-javascript.sh' that were made by someone else than <noreply@github.com>
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>
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
git@github.com: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions