Skip to content

Add Community PR action shows error when PR is in project #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kgodey opened this issue Apr 1, 2020 · 4 comments
Closed

Add Community PR action shows error when PR is in project #29

kgodey opened this issue Apr 1, 2020 · 4 comments

Comments

@kgodey
Copy link
Member

kgodey commented Apr 1, 2020

Problem Description

The "add community PR" workflow shows an error when a PR is already in a project e.g.

Error while adding Pull Request Card To Column [Project already has the associated issue]

(See: https://github.com/creativecommons/ccos-scripts/runs/552801037?check_suite_focus=true)

Solution Description

PRs that are already in a Project should not be added to a project at all, and so there should be no error.

@kgodey
Copy link
Member Author

kgodey commented Apr 1, 2020

@subhamX would you be able to work on this?

@kgodey kgodey added bug and removed enhancement labels Apr 1, 2020
@subhamX
Copy link
Contributor

subhamX commented Apr 2, 2020

Hi @kgodey , thank you for pointing this issue and giving this opportunity to me. I will ensure that in case the PR is already linked with the Project then nothing is printed on the console. I will update the release as soon as possible.

@subhamX
Copy link
Contributor

subhamX commented Apr 2, 2020

@kgodey I have fixed the issue and have updated the release tag.

@kgodey
Copy link
Member Author

kgodey commented Apr 2, 2020

looks good, @subhamX! thank you! :)

@kgodey kgodey closed this as completed Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants