srggrs / assign-one-project-github-action

Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error when going from draft PR to normal PR

srggrs opened this issue · comments

commented

Steps to reproduce:

  1. create a PR as a draft
  2. mark the PR as ready

Details of the error:

/usr/bin/docker run --name srggrsassignoneprojectgithubaction110_c90efe --label 488dfb --workdir /github/workspace --rm -e GITHUB_TOKEN -e INPUT_PROJECT -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/vast-pipeline/vast-pipeline":"/github/workspace" srggrs/assign-one-project-github-action:1.1.0 "https://github.com/askap-vast/askap-pipeline/projects/1"
changing col name for PR event
No project was found.
jq: error (at :4): Cannot index string with string "name"
INITIAL_COLUMN_ID is not found.
##[error]Docker run failed with exit code 1

commented

Error was due to a incorrect project URL