Coder Social home page Coder Social logo

Comments (8)

coliff avatar coliff commented on May 19, 2024 1

thanks for the reply @tonydehnke - I do have Beta access to GitHub Actions already. I see the 'Actions' tab in my private repo and a couple of failed builds - but with no details other than:

### ERRORED 16:13:26Z

- There was an unexpected error when executing this Action. For help debugging what went wrong, please contact [email protected].

from image-actions.

tonydehnke avatar tonydehnke commented on May 19, 2024

Same here, doing some googling it seems that "Github Actions" are still in beta, so we may have to apply to the Beta in order for this to work and see the Secrets menu. Check out this post for some screen shots of it: https://docs.launchdarkly.com/docs/github-actions

Here is the link to Github actions to sign up for the beta: https://github.com/features/actions

from image-actions.

benschwarz avatar benschwarz commented on May 19, 2024

Hey @coliff, thanks for lodging this issue.

On earlier versions of GitHub actions the GITHUB_TOKEN would've been manually granted by you. That changed when GitHub CI was announced, but I hadn't taken the time to document it properly.

I've updated the docs in #9. Do they make sense to you?

from image-actions.

benschwarz avatar benschwarz commented on May 19, 2024

@tonydehnke Seems like you've got something else going wrong. If you wouldn't mind reading through all the output generated and seeing if you can spot an error, I'd appreciate it.

Once you've done so, open a new issue?

from image-actions.

coliff avatar coliff commented on May 19, 2024

Hi Ben - thanks for the reply and updating the documentation. I've got it working now :-)
Great job on this project. 👍

from image-actions.

coliff avatar coliff commented on May 19, 2024

actually, nope, error on actions/checkout@master step:

Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline.
##[add-matcher]/home/runner/work/_temp/git_c250bbe4-6c28-42a6-a2d9-873bd494e464.json
Syncing repository: coliff/calibre-image-actions-test
git version
git version 2.23.0
git lfs version
git-lfs/2.8.0 (GitHub; linux amd64; go 1.12.6)
git init "/home/runner/work/calibre-image-actions-test/calibre-image-actions-test"
Initialized empty Git repository in /home/runner/work/calibre-image-actions-test/calibre-image-actions-test/.git/
git remote add origin https://github.com/coliff/calibre-image-actions-test
git config gc.auto 0
git config --get-all http.https://github.com/coliff/calibre-image-actions-test.extraheader
git config --get-all http.proxy
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/4/merge:refs/remotes/pull/4/merge
##[error]fatal: couldn't find remote ref refs/pull/4/merge
##[warning]Git fetch failed with exit code 128, back off 5.375 seconds before retry.
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/4/merge:refs/remotes/pull/4/merge
##[error]fatal: couldn't find remote ref refs/pull/4/merge
##[warning]Git fetch failed with exit code 128, back off 4.154 seconds before retry.
git -c http.extraheader="AUTHORIZATION: basic ***" fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/4/merge:refs/remotes/pull/4/merge
##[error]fatal: couldn't find remote ref refs/pull/4/merge
Removed matchers: 'checkout-git'
##[remove-matcher owner=checkout-git]
##[error]Git fetch failed with exit code: 128
##[error]Exit code 1 returned from process: file name '/home/runner/runners/2.157.5/bin/Runner.PluginHost', arguments 'action "GitHub.Runner.Plugins.Repository.CheckoutTask, Runner.Plugins"'.

Public repo for testing: https://github.com/coliff/calibre-image-actions-test

from image-actions.

benschwarz avatar benschwarz commented on May 19, 2024

Looks like you got it working now 🎉

from image-actions.

coliff avatar coliff commented on May 19, 2024

YEAH! thanks for looking into this.

The error was that I made a PR (by adding a new JPEG image) and then merged it right away. The GitHub Action then tried to run by optimising the image but it couldn't update the PR since I'd already merged it. I think this could potentially trip up other users. After you make a PR you gotta wait a bit before merging. I realise this is a GitHub Actions issue rather than calibreapp-image-actions problem though. Maybe it could be documented somewhere as a side note...

from image-actions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.