paygoc6 / action-pull-request-another-repo

Action for create pull request in another repository
Apache License 2.0
38 stars 83 forks source link

git workflow failing to build image on 1.0.5 #29

Open sarialalem1 opened 1 year ago

sarialalem1 commented 1 year ago

After upgrading from 1.0.1 to 1.0.5, my workflows started failing when building the image: logs

Dockerfile:3
  --------------------
     2 |     
     3 | >>> RUN apk update && \
     4 | >>>     apk upgrade && \
     5 | >>>     apk add build-base && \
     6 | >>>     apk add git && \
     7 | >>>     git clone https://github.com/cli/cli.git gh-cli && \
     8 | >>>     cd gh-cli && \
     9 | >>>     make && \
    10 | >>>     mv ./bin/gh /usr/local/bin/
    11 |     
  --------------------
  ERROR: failed to solve: process "/bin/sh -c apk update &&     apk upgrade &&     apk add build-base &&     apk add git &&     git clone https://github.com/cli/cli.git gh-cli &&     cd gh-cli &&     make &&     mv ./bin/gh /usr/local/bin/" did not complete successfully: exit code: 2
lalvarez-mdrc commented 11 months ago

Hey @sarialalem1

Did you ever find a work around? This also doesn't work for me on 1.0.1 or 1.0.5

bparthas21 commented 11 months ago

We also started seeing the same problem today. Has this been broken since Sep and not fixed yet?

sarialalem1 commented 11 months ago

@Lazaro-procogia-mdrc I moved back to 1.0.1 and started working again, but today I started getting the same issue on 1.0.1 also

gitsakos commented 4 months ago

The fix for this bug is part of the repo, it just has yet to be published as a release.

Just pull the latest commit instead of the latest release:

  uses: paygoc6/action-pull-request-another-repo@09aafa46fa87eb19b82f5ee5afe54aa35d2d8e85)