superfile icon indicating copy to clipboard operation
superfile copied to clipboard

can't merge superfile master to my fork

Open xelavopelk opened this issue 1 month ago • 10 comments

Describe the bug can't merge changes from master to my fork

To Reproduce

Expected behavior successful merge to fork

Screenshots i think it concerns with new file mirror.yml https://github.com/xelavopelk/superfile/commit/0873bbbe3fc24982f3fd4f6ba41789311c3283f8#diff-c426f16e7c324d1df73f26b63e634496b3ab186a16a827c457d38efef5fe49b0

      - uses: yesolutions/mirror-action@master
        with:
          REMOTE: 'https://codeberg.org/yorukot/superfile.git'
          GIT_USERNAME: yorukot
          GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}
          PUSH_ALL_REFS: "true"
Image

from details:

remote: Credentials are incorrect or have expired. Retry your command or see https://codeberg.org/forgejo/forgejo/issues/2809 for more information
fatal: Authentication failed for 'https://codeberg.org/yorukot/superfile.git/'

System information (please complete the following information):

xelavopelk avatar Nov 10 '25 14:11 xelavopelk

👋 Hi there, and welcome to superfile!

Thanks for opening your first issue. We really appreciate your interest and involvement.

A maintainer might ask you for more details or clarification to better understand the issue.
That’s totally normal and helps us solve the problem more effectively.

If you plan to submit a PR, make sure to check our Contribution Guide

github-actions[bot] avatar Nov 10 '25 14:11 github-actions[bot]

cc: @yorukot

lazysegtree avatar Nov 10 '25 17:11 lazysegtree

First of all, I'm not really familiar with this workflow yet. But I'd like to check whether the CODEBERG_TOKEN is set. Another potential issue is the remote URL, I'm not sure if this would work when mirroring from another remote repository.

          REMOTE: 'https://codeberg.org/yorukot/superfile.git'

reference: https://github.com/yesolutions/mirror-action

yorukot avatar Nov 11 '25 03:11 yorukot

First of all, I'm not really familiar with this workflow yet. But I'd like to check whether the CODEBERG_TOKEN is set. Another potential issue is the remote URL, I'm not sure if this would work when mirroring from another remote repository.

      REMOTE: 'https://codeberg.org/yorukot/superfile.git'

reference: https://github.com/yesolutions/mirror-action

So how i can update my fork?

xelavopelk avatar Nov 13 '25 08:11 xelavopelk

@xelavopelk Sorry, I don't understand what you mean.

Do you mean how to sync your fork to Codeberg?

yorukot avatar Nov 13 '25 14:11 yorukot

@xelavopelk Sorry, I don't understand what you mean.

Do you mean how to sync your fork to Codeberg?

git action tries do something (push?) with repo https://codeberg.org/yorukot/superfile.git . But i haven't credentials to it. so i've got error on this action fatal: Authentication failed for 'https://codeberg.org/yorukot/superfile.git/'.

may be need configure this action not execute on fork...

xelavopelk avatar Nov 13 '25 15:11 xelavopelk

First of all, I'm not really familiar with this workflow yet. But I'd like to check whether the CODEBERG_TOKEN is set. Another potential issue is the remote URL, I'm not sure if this would work when mirroring from another remote repository.

      REMOTE: 'https://codeberg.org/yorukot/superfile.git'

reference: https://github.com/yesolutions/mirror-action

token is set

Image it's valid: Image may be something wrong with action on codeberg: https://codeberg.org/forgejo/forgejo/issues/2809 ?

xelavopelk avatar Nov 14 '25 15:11 xelavopelk

I just realized something. Are you using my Codeberg repository? You should change that. It is not possible to mirror anything to my repository because I have not given you permission.

yorukot avatar Nov 16 '25 02:11 yorukot

I just realized something. Are you using my Codeberg repository? You should change that. It is not possible to mirror anything to my repository because I have not given you permission.

i've tried both

xelavopelk avatar Nov 17 '25 12:11 xelavopelk

You should change that.

what i should change? GitAction used mirror with codeberg is used in main branch. ps the problem begins after mirror action was added.

xelavopelk avatar Nov 25 '25 11:11 xelavopelk

merged in locally using git

xelavopelk avatar Nov 30 '25 11:11 xelavopelk