/remove-from-project-v2

An action to remove a card from a new Project

Primary LanguageTypeScriptMIT LicenseMIT

Remove from Project V2

An action to remove an issue from a V2 project board.

This is based directly on Remove from project (classic). Reworked based on MIT license.

UPDATE Removed this folk and mirrored this in remove-from-projectV2

Inputs

  • issue-number - The number of the issue or pull request to remove
  • project-number - The number of the project board
  • token - An authentication token with access to the project board and issue/pull request

project-owner can be set if the project board is not in the current organization.

issue-owner and issue-repository can be specified if the issue or pull request does not exist in the workflow's repository.

Use fail-not-found: true if you want the action to fail if the issue or pull request does not exist on the project board.

Usage

Remove an issue from a project in the current organization

- uses: jimgraham/remove-from-project-v2@main
  with:
    project-number: 123
    issue-number: 10
    token: ${{ secrets.PROJECT_TOKEN }}

Remove an issue form a project another organization

- uses: jimgraham/remove-from-project-v2@main
  with:
    project-owner: github
    project-number: 456
    issue-number: 16
    token: ${{ secrets.PROJECT_TOKEN }}

Remove an issue from a separate repository

- uses: jimgraham/remove-from-project-v2@main
  with:
    project-number: 123
    issue-owner: actions
    issue-repository: cache
    issue-number: 32
    token: ${{ secrets.PROJECT_TOKEN }}

Not supported yet

  • User and repository project boards
  • Project cards that are not issues or pull requests