Commit Graph
11 Commits
Author SHA1 Message Date
Eric FennisandClaude 3a699de8e6 ci(icon-preview): Show icon previews in the PR description (#5338)
* ci: show icon previews in the PR description

Replace the icon-preview comment action with a workflow that writes a
preview image per added or changed icon into the PR description, between
the "Icon preview" markers from the PR template. The images are served by
review.lucide.dev, so the workflow no longer needs dependencies or the
PR's SVGs.

- scripts/updatePullRequestDescriptionPreview.mts renders the markup and
  replaces it between the markers (idempotent, keeps CRLF bodies and the
  surrounding text as is), and updates the body through the REST API.
- .github/workflows/pull-request-description-preview.yml runs it on
  pull_request_target from the base branch only.
- Add the "Icon preview" section with the markers to the PR template.
- Remove the pull-request-icon-preview workflow and the icon-preview action.

Co-Authored-By: Claude <noreply@anthropic.com>

* ci: move the PR description preview into the icon-preview action

Move the description preview script and its tests from scripts/ into
.github/actions/icon-preview, a composite action like the old one, with a
package.json (start, debug, test) and an .env.example for local runs. The
workflow now calls the action with the PR number, head SHA, changed files
and token as inputs.

Co-Authored-By: Claude <noreply@anthropic.com>

* ci: adjust the icon-preview action instead of adding a new workflow

Restore the icon-preview action and its workflow from main and adjust
them in place: the action now runs updatePullRequestDescriptionPreview.mts
(Node built-ins only, so no dependencies or install step) to write the
previews into the PR description, and the workflow calls it with the PR
number, head SHA, changed files and token. The separate
pull-request-description-preview workflow is removed.

Co-Authored-By: Claude <noreply@anthropic.com>

* fix(icon-preview): remove a lone marker before adding a fresh pair

When only the start or the end marker is left in the description, remove
it (with its line break) before prepending a new marker pair, so the
body never keeps an orphan marker.

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-30 14:06:14 +01:00
KarsaandEric Fennis f6358a4161 feat(docs|site): add icon eligibility guide & simplify PR template (#5258)
* feat(docs): add icon eligibility guide & simplify PR template

* feat(github): also updated icon request issue template

* feat(github): update links in icon request issue template checklist

* Apply suggestion from @ericfennis

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>

* Update pull request template for icon details and use cases

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2026-11-24 17:11:42 +01:00
Daniel BayleyandEric Fennis bb26580cfb feat(docs): Add lab requirement in pull_request_template.md (#3651)
* feat(docs): update pull_request_template.md

* Fix link to Lab directory in PR template

Updated link reference for the Lab directory in the pull request template.

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
2026-07-25 13:13:01 +02:00
Ankit Sharma d8700b257a docs: fix broken links in documentation (#4224)
docs: fix broken links in documentation (pull request template and brand logos statement) from "lucide.dev/guide/design/" to "lucide.dev/contribute/"
2026-03-28 07:47:36 +01:00
cfabc9f608 docs(site): added official statement on brand logos in Lucide (#3541)
* docs(): added official statement on brand logos in Lucide

* docs(): fix accidental typo from adding link

* docs(): migrating some stuff to a more accessible plain language format

* Update .github/ISSUE_TEMPLATE/01_icon_request.yml

* Update .github/ISSUE_TEMPLATE/01_icon_request.yml

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Update README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update .github/pull_request_template.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Jakob Guddas <github@jguddas.de>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-18 15:11:06 +02:00
Jakob Guddas e9febe4fab docs: add rule against war/violence related imagery (#3506)
* docs: add rule against war/violence related imagery

* Update 01_icon_request.yml
2025-08-05 10:29:23 +02:00
Eric Fennis 81ce8fed07 Adjust pr template (#3183) 2025-05-02 13:17:01 +02:00
Brizen BrittandJacob Padilla 85983552ee fix(docs): PR Conventions (#3066)
* added title for title guidelines

* added example title

---------

Co-authored-by: Jacob Padilla <jp@jacobpadilla.com>
2025-04-21 10:49:10 +02:00
Jakob Guddas 3a0f2b3fa8 Update pull_request_template.md (#2013) 2024-03-22 10:26:00 +01:00
Karsa fcafe0e7b7 [pull-request-template] Added some clarification to pull request requirements. (#1531) 2023-08-28 15:49:06 +02:00
e78d910a83 feat: defention of done (#1224)
* feat: defention of done

* Update new-icon.md

* Update new-icon.md

* move file pull_request_template.md

* updated the PR template

* update checklist items

* update heading

* Update .github/pull_request_template.md

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Update .github/pull_request_template.md

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Update .github/pull_request_template.md

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Update .github/pull_request_template.md

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Update .github/pull_request_template.md

Co-authored-by: Jakob Guddas <github@jguddas.de>

* Update .github/pull_request_template.md

Co-authored-by: Karsa <contact@karsa.org>

* Update .github/pull_request_template.md

Co-authored-by: Karsa <contact@karsa.org>

* Update .github/pull_request_template.md

Co-authored-by: Karsa <contact@karsa.org>

* Update .github/pull_request_template.md

Co-authored-by: Karsa <contact@karsa.org>

* Update .github/pull_request_template.md

Co-authored-by: Karsa <contact@karsa.org>

* Update .github/pull_request_template.md

Co-authored-by: Karsa <contact@karsa.org>

---------

Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Karsa <contact@karsa.org>
2023-08-21 10:30:09 +02:00