Comments (4)
For the default GITHUB_TOKEN
there is a separate section in the doc about how to give it further permissions.
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#changing-github_token-permissions
It will need issues: write
and/or pull-requests: write
.
from create-or-update-comment.
Ah! That's almost certainly it. Thanks for the pointer! Have been hunting and hunting for this. Appreciate it!
from create-or-update-comment.
Hi @schlosser
Dependabot is a special case. By default it does not have access to your secrets and if your workflow triggered by dependabot needs a secret to run then you must create a dependabot secret.
See here for details:
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/automating-dependabot-with-github-actions#accessing-secrets
from create-or-update-comment.
Thanks Peter! Strangely, I have the same secrets setup in dependabot secrets as my actions secrets; the rest of my steps work fine, but my create-or-update-comment
step is throwing the error. I think that all it should need secrets-wise is my GITHUB_TOKEN
. Do I need to explicitly add GITHUB_TOKEN
to my dependabot secrets? My reading of the docs made it look like it should be included automatically in the environment. Is there a way I could debug the token further?
from create-or-update-comment.
Related Issues (20)
- [question] Is body-path relative to root? (Also, some ideas) HOT 1
- Can't find the created `comment-id` HOT 3
- Error on PRs made by Dependabot HOT 5
- Update comment, replace body HOT 1
- Truncate files which are too long HOT 1
- Unable to update the comment on github discussion room, please help HOT 1
- It don't work HOT 1
- Only works for organizations? HOT 1
- commit comment HOT 1
- Unable to Create the comment HOT 6
- Error Argument list too long with very large comment bodies HOT 2
- How to create comment that from a txt file? HOT 1
- There is an issues related to permission occurred HOT 4
- Dependabot finding HOT 1
- [Feature Request] Is it possible to use Throttling to gracefully handle issues with API limits? HOT 5
- The body-path is set but says it is missing HOT 2
- Change display name / photo for github actions bot commit? HOT 1
- test 123
- Feature Request: Publish to npm HOT 2
- Error: Cannot read properties of undefined (reading 'number') HOT 3
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 create-or-update-comment.