Skip to content

Add issue to project workflow fails due to missing github-tokenΒ #14

@spaceg00se-r

Description

@spaceg00se-r

Hey πŸ‘‹

Just a heads-up β€” the Add issue to project workflow is currently failing on every new issue with the following error:

Error: Input required and not supplied: github-token

You can see a recent failed run here: https://github.com/pgsty/minio/actions/runs/23379924962/job/68017708587#step:2:5

The actions/add-to-project@v0.5.0 action requires a github-token input, but it seems it wasn't wired up in the workflow file. The fix should be straightforward β€” adding the token reference to the workflow:

yaml
- uses: actions/add-to-project@v0.5.0
  with:
    project-url: https://github.com/orgs/miniohq/projects/2
    github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

The token needs to have read:org and write:org (or project) scopes and should be stored as a repository secret.
Hope that helps β€” happy to assist further if needed! πŸ™‚

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions