Comments (4)
github-token
(required) is a personal access
token withrepo
andproject
scopes.
See Creating a PAT and adding it to your repository for more details
From the readme, details on that token setup
(Not trying to say read the manual or anything like that - just trying to pass along info quickly while on mobile!)
from add-to-project.
@mattcosta7 I wonder if extra permissions as described on https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs are needed. Still, the only permission that looks related is named repository-projects: read|write|none
but to my knowledge these projects are organization level not project level.
Maybe using the implicit token does not allow this and it would only work with a personal token.
from add-to-project.
@mattcosta7 I wonder if extra permissions as described on https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs are needed. Still, the only permission that looks related is named
repository-projects: read|write|none
but to my knowledge these projects are organization level not project level.Maybe using the implicit token does not allow this and it would only work with a personal token.
Not near a computer for a bit, but are you using a legacy personal access token, or an action token?
Due to the graphql API backing this if I recall correctly, a personal access token is required
from add-to-project.
Thanks, I can confirm that this is true. I will try to make a PR to mention not to attempt to use non PATs as they will not work.
from add-to-project.
Related Issues (20)
- Variable $input of type AddProjectV2ItemByIdInput not provided! HOT 1
- Unexpected Error
- Missing v0.4 tag or branch HOT 1
- PR not being added to project when created
- Outputs are not documented in the action manifest
- Workflow fails if issue is already added to project
- New Release? HOT 1
- Use `github.token` as default token HOT 1
- Could not resolve to a ProjectV2 with the number 3. HOT 3
- Error: Input required and not supplied: github-token HOT 1
- Started c++
- Username of PAT creator is used as actor for issue added to project
- dependabot labeled PRs do not add to project HOT 8
- have to upgrade node16 to node20 HOT 1
- Unable to resolve action `actions/add-to-project@v1`, unable to find version `v1` HOT 2
- Create "v1" tag for automatically following this action's updates without modifying workflows HOT 1
- Could not resolve to a ProjectV2 with the number 3. HOT 4
- Could not resolve to a ProjectV2 with the number
- Adding status and start or end date
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 add-to-project.