github-project-automation-plus: Error: Resource not accessible by integration
For some reason I am unable to get this action to work.
My repo is public and not a fork.
I’ve also tested another action which did work but has very limited functionalities, this is why I’d like to use this action.
I also tried to include the new permission system to modify the default permissions. I tried both as job and as workflow variable. (https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#permissions)
But generally it doesn’t seem to be a permission issue tho when looking at the log
The project is called Backlog and the column Triage
At this point I am clueless and thats why I opened this issue 😐
Also the Actions permissions
Also using a repository secret did not worked Bad credentials
This is the content of my yml. (it’s the same as the one from your example)
name: Move new issues into Triage
on:
issues:
types: [opened]
jobs:
automate-project-columns:
runs-on: ubuntu-latest
steps:
- uses: alex-page/github-project-automation-plus@v0.7.1
with:
project: Backlog
column: Triage
repo-token: ${{ secrets.GITHUB_TOKEN }}
Let me know if there is anything else you need. Many thanks in advance!
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16 (5 by maintainers)
Commits related to this issue
- ci: [debug] downgrade action alex-page/github-project-automation-plus#68 — committed to AllanChain/blog by AllanChain 3 years ago
- ci: 🎡 change token for project automation https://github.com/alex-page/github-project-automation-plus/issues/68 — committed to EmilMalanczak/pepe-ui by EmilMalanczak 3 years ago
Also still not working here when moving new issues to a workboard.
I also reproduced with public repo and public project.
I solved it by creating and using a token with
repo
permission.Related issue
I am in bed right now, but I can try it tomorrow.
But I’ve already created two more/different projects and they also did not work. (With the same error)
I created a public repository where I reproduced the issue: https://github.com/nilsreichardt/github-action-project-issue
Workflow:
The workflow failing with this error:
Link to broken workflow: https://github.com/nilsreichardt/github-action-project-issue/runs/3186029884?check_suite_focus=true
It’s working with a personal access token, but with the
GITHUB_TOKEN
is not working. Therefore, I contacted the GitHub Support, why it’s working with a personal access token, but not with theGITHUB_TOKEN
(even whenGITHUB_TOKEN
has enough permissions).I got this response from the GitHub Support:
@alex-page, do you have the time to contact the support as the GitHub support mentioned, so we can find out, why personal access token is working, but
GITHUB_TOKEN
not? My support ticket id is1253216
.I am new to this action and having the same problem. The
GITHUB_TOKEN
definitely has permissionRepositoryProjects: write
. If this action previously worked withGITHUB_TOKEN
and recently fails, it might be GitHub’s issue. (somewhat like actions/starter-workflows#332 ?) Should we contact GitHub if it is the case?My test repo https://github.com/MisterChocker/test_repo
Can you share a link to your repo 👀