add-and-commit icon indicating copy to clipboard operation
add-and-commit copied to clipboard

Fetch only one branch for performance issues

Open brandonfl opened this issue 1 year ago • 4 comments

Hello,

Since the fetch is taking a long time, I tryed to fetch only one branch with this configuration :

env:
  BRANCH_REF: ${{ github.event.pull_request.head.ref || github.ref_name }}

...

- name: Push Changes
  uses: EndBug/[email protected]
  with:
    author_name: ...
    author_email: ...
    message: '...'
    fetch: origin ${{ env.BRANCH_REF }} --force

But this seems to still fetch all the repo, any idea ?

Thanks in advance, Regards, BrandonFL

brandonfl avatar Dec 21 '23 11:12 brandonfl

Hi, can you provide a link to the action run and the logs, so that I can see what's happening?

EndBug avatar Dec 25 '23 21:12 EndBug

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jan 15 '24 05:01 github-actions[bot]

Hey,

I can not share the logs (private) but will make a demo project when I get some time :smile:

Regards, BrandonFL

brandonfl avatar Jan 15 '24 13:01 brandonfl

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Feb 05 '24 05:02 github-actions[bot]