Comments (8)
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.
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.
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.
@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.
Hi Ben - thanks for the reply and updating the documentation. I've got it working now :-)
Great job on this project. 👍
from image-actions.
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.
Looks like you got it working now 🎉
from image-actions.
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)
- [Feature Request] Simple markdown template HOT 4
- Just a quick question! HOT 2
- [Bug] HTTPError when committing files HOT 3
- [Feature Request] Keep metadata when optimising images
- Limit markdown to 65535? HOT 4
- [Bug] `Input file contains unsupported image format` errors HOT 3
- Could you release major version(s) of your GitHub action? HOT 1
- [Feature Request] Can we have that command line utility for the same ? HOT 1
- Env variables are not being populated as expected HOT 1
- Bad Credentials error when following docs
- [Feature Request] Make a recent release with tag instead of `main` HOT 2
- Files compress in test repo but not Github Pages website even though code is the same. HOT 1
- [Feature Request] Support on-premise github enterprise HOT 2
- [Bug] WebP optimization requires successive passes to optimize HOT 1
- [Feature Request] Add option to disable PR comment HOT 6
- [Feature Request] How to get it to optimize images that are already inside the repo? HOT 1
- [Feature Request] Support for compressing PDFs HOT 2
- [Bug] 'set-output' warning HOT 2
- [Bug] image-actions rotates image unexpectedly HOT 9
- Agree this would be useful. And agree currently it does all files each time - that's working as intended at the moment btw, rather than a bug per se, though can understand why it's not what some would want.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image-actions.