Skip to content

Using github: toolsets: [all] gives warning about projects toolset #11349

@dsyme

Description

@dsyme

It's a bit confusing to the user that using

  github:
    toolsets: [all]  

causes this warning:

 The 'projects' toolset requires a GitHub token with organization Projects permissions.
ℹ See: https://githubnext.github.io/gh-aw/reference/tokens/#gh_aw_project_github_token-github-projects-v2

This is because "all" includes the projects toolset. While it's logically correct to give the warning - the implied "projects" toolset is indeed not going to work without the required token - it is very unlikely that with "all" the user is trying to do anything with projects.

I think we should only give this warning if the projects toolset is mentioned explicitly, not implied by "all".

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions