Ability to programmatically add to a personal project board from GH actions #145211
Unanswered
ml-evs
asked this question in
Projects and Issues
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Feature Area
Projects
Body
I would like to be able to automate my personal project board with any assigned issue across all my repos/organisations. The current default auto-add automations force you to choose a specific repository, which is useless in my case.
I have a scheduled workflow that checks for the last day's of updated/assigned issues at
personal-kanban.yml
. It works fine locally with the GH CLI, but one cannot create a token with the appropriate permissions to do this programmatically via the GH CLI, using either classic or fine-grained tokens, as the commandgh project item-add "$PROJECT_NUMBER" --owner "$USERNAME" --url "$url"
returnsunknown owner type
when I pass it my own user name (indicating insufficient permissions, according to cli/cli#8885).Is there any way we can either have a proper automation that works across orgs/repositories for personal project boards, or can we have the ability to create a token with the appropriate permissions?
gh auth refresh -s project
was enough locally, but does not seem to map to the permissions used inside GH actions.Guidelines
Beta Was this translation helpful? Give feedback.
All reactions