copy_file_to_another_repo_action: Action fails after recent change to entrypoint.sh

I have a number of workflows that use this action and they’re failing with this error after the recent change to entrypoint.sh:

Cloning into '/tmp/tmp.icEILo'...
+ echo 'Copying contents to git repo'
Copying contents to git repo
+ mkdir -p /tmp/tmp.icEILo/
+ rsync -avrh CHANGELIST.md /tmp/tmp.icEILo/
/entrypoint.sh: line 27: rsync: not found

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 12
  • Comments: 15 (3 by maintainers)

Most upvoted comments

You can just use the most recent successful commit hash instead of a branch name for the Action.

    - name: example
      uses: dmnemec/copy_file_to_another_repo_action@3fe42250d47e0764da9de9939b151b09a26e5857

Then once this is resolved, revert to using main again:

  - name: example
    uses: dmnemec/copy_file_to_another_repo_action@main