webcomponents / webcomponents.org

Home of the web components community
https://www.webcomponents.org
Apache License 2.0
356 stars 95 forks source link

Use addProjectV2DraftIssue API to add issues to lit board #1430

Closed aomarks closed 1 year ago

aomarks commented 1 year ago

Turns out you can set the title to an issue URL when using the addProjectV2DraftIssue API, and it does exactly what we want!

Need to merge this in order to test.

Part of https://github.com/lit/lit/issues/3586

github-actions[bot] commented 1 year ago

A live preview of this PR will be available at the URL below and will update on each commit. = The build takes ~5-10 minutes, and will 404 until finished.

https://pr1430---site-khswqo4xea-wl.a.run.app/

Warning Until our Cloud Run project is public, only authorized users can view the above URL. The easiest way to view it authenticated is to run the following proxy command and visit http://localhost:5453

(gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1430 --port=5453 site \
& gcloud beta run services proxy --project=webcomponents-org-test --region=us-west2 --tag=pr1430 --port=6453 catalog)
aomarks commented 1 year ago

Unrelated to changes but wdyt about skipping the first API call of getting the project id and hard coding it into the workflow?

It's sort of hard to discover the internal database ID, so I kinda thought it's nice to just look it up here so that the workflow is more maintainable.