question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow using the cache for other than push and pull_request events

See original GitHub issue

When triggering my action with on: ['deployment']. It throws a warning about having no read permissions.

It doesn’t happen with on: push.

##[debug]Resolved Keys:
##[debug]["Linux-yarn-...hash...","Linux-yarn-"]
##[debug]Cache Url: https://artifactcache.actions.githubusercontent.com/...hash.../
##[warning]No scopes with read permission were found on the request.
::set-output name=cache-hit,::false

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:37
  • Comments:21 (4 by maintainers)

github_iconTop GitHub Comments

23reactions
aiqiaoycommented, May 15, 2020

The PR to allow all events to access cache is merged into master. It will be released as part of cache v2. We are targeting releasing v2 later this month.

You can ping to actions/cache@master to preview this feature.

20reactions
nikolaeucommented, Nov 9, 2019

repository_dispatch would be really nice to have covered as well 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Events that trigger workflows - GitHub Docs
You can use the github.event.issue.pull_request property in a conditional to take different action depending on whether the triggering object was an issue or ......
Read more >
7 Github Actions Tricks I Wish I Knew Before I Started
#1: How to Use Github Action Triggers. The above code is pretty much self explanatory. The workflow will trigger on every pull request...
Read more >
Using pull through cache rules - Amazon ECR
When pulling images using pull through cache, the Amazon ECR FIPS service ... ECR to create the repository for and push the cached...
Read more >
Caching in GitLab CI/CD
Use cache for dependencies, like packages you download from the internet. Cache is stored where GitLab Runner is installed and uploaded to S3...
Read more >
Easily explained: Differences between Push and Pull APIs
Even if you have only a pull API to play with, there are some neat tricks applications do to lessen their load, e.g....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found