Skip to content

a8n: failed creating PRs because 'assignee' doesn't exist

Created by: attfarhan

  • Sourcegraph version:
  • Platform information:

image (7)

Steps to reproduce

  1. Log into GitHub with the sd9 account
  2. Follow the instructions at https://docs.sourcegraph.com/user/automation#creating-a-campaign-from-a-set-of-patches, using the following actions file:
{
  "scopeQuery": "repo:go-* -repohasfile:INSTALL.md -repo:stripe-go",
  "steps": [
    {
      "type": "command",
      "args": ["sh", "-c", "echo '# Installation' > INSTALL.md"]
    },
    {
      "type": "docker",
      "dockerfile": "FROM alpine:3 \n CMD find /work -iname '*.md' -type f | xargs -n 1 sed -i s/this/that/g"
    },
    {
      "type": "docker",
      "image": "golang:1.13-alpine",
      "args": ["go", "fix", "/work/..."]
    }
  ]
}

Expected behavior:

PRs would be created in relevant repos. I suspect this error may be due to the particular repos being modified being on our GHE instance.

Actual behavior:

The PRs don't get created and fail with 'field assignee does not exist' error in screenshot above.