Comments (6)
It's not clear to me how map
is getting called, looking at the code for octokit/request-action
.
Can you try following the instructions here to enable debug logging? I'm wondering if that might help us to get more context.
from request-action.
I ended up using action-script which led me to discover that the GitHub token I was using didn't have access to the repo (got a 404), so it's likely something handling that incorrectly.
from request-action.
I was able to reproduce the issue with a minimal workflow file like this:
name: Download file without required permissions
on: workflow_dispatch
jobs:
download_file:
runs-on: ubuntu-latest
steps:
- uses: octokit/[email protected]
id: download_file
with:
route: GET /repos/{owner}/{repo}/contents/README.md
mediaType: application/vnd.github.raw
owner: github
repo: github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
I'll try to figure out what's going on.
from request-action.
I've got a fix for this now in #176! Thanks for reporting the issue.
from request-action.
It seems that, in fact, there is a way to do this - see #184.
from request-action.
🎉 This issue has been resolved in version 2.1.7 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from request-action.
Related Issues (20)
- Node.js 12 warnings HOT 1
- Cannot view repo details
- [DOCS]: handleError example does not handle errors HOT 1
- [BUG]: sensitive output (`actions/runners/registration-token`) can't be masked HOT 3
- [DOCS]: Example of required_status_checks on branch protection ON HOT 1
- [ASK]: What is GITHUB_TOKEN?? HOT 1
- "Resource not accessible by integration" HOT 2
- [BUG]: Deprecation of GitHub Actions save-state and set-output commands
- Request Dependency Updates for dcl-node-runtime and vm HOT 2
- Having this problem "Bad Credentials" HOT 8
- > I see some repositories using `npm run build` HOT 1
- [MAINT]: Update runtime to Node 20 HOT 2
- [FEAT]: Support onprem github api calls HOT 3
- [BUG]: Attempting GET on a Github commit API fails HOT 5
- [FEAT]: Add fail_on_error option to suppress failing HOT 1
- How to call add Tag? HOT 1
- [BUG]: Does this action support check API HOT 1
- [DOCS]: Clarify how to set body inputs HOT 3
- [MAINT]: Node.js 16 deprecation warning HOT 2
- [BUG]: Proxy error HOT 2
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 request-action.