Skip to content

CI: Assigning PRs to the internal project board is broken #669

@rockdaboot

Description

@rockdaboot

Problem

We currently use the elastic/assign-one-project-github-action GH action to automatically assign PRs made by Elastic employees to an Elastic internal board.

This GH action uses an outdated API and thus fails.
The used `curl´ command comes back with

{
  "message": "Projects (classic) has been deprecated in favor of the new Projects experience.",
  "documentation_url": "https://docs.github.com/en/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects",
  "status": "410"
}

which leads to the CI output

jq: error (at <stdin>:5): Cannot index string with string "name"
INITIAL_COLUMN_ID is not found.

Fixing elastic/assign-one-project-github-action seems to be non-trivial, if you look at the documentation of the new API.
The upstream project that Elastic once forked is no longer maintained, but suggests to use projectbot.

Solution

  1. Reconsider if the automatic assignment of PRs to the internal board is still needed. If not, remove the CI workflow. Otherwise go to 2.
  2. Switch the workflow to projectbot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    aws-λ-extensionAWS Lambda ExtensionbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions