Skip to content

Commit b6066b2

Browse files
Clarify which Feather icons aren't supported.
Also, document the current version of Feather icons at time of writing. When additional icons are released in the future, including the version of Feather at the time our documentation was last updated will help developers realize that the newly added icons are not yet available.
1 parent 49de65b commit b6066b2

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

content/actions/creating-actions/metadata-syntax-for-github-actions.md

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -479,11 +479,39 @@ The background color of the badge. Can be one of: `white`, `yellow`, `blue`, `gr
479479

480480
### `branding.icon`
481481

482-
The name of the [Feather](https://feathericons.com/) icon to use.
482+
The name of the v4.28.0 [Feather](https://feathericons.com/) icon to use. Brand icons are omitted as well as the following:
483+
484+
<table>
485+
<tr>
486+
<td>coffee</td>
487+
<td>columns</td>
488+
<td>divide-circle</td>
489+
<td>divide-square</td>
490+
</tr>
491+
<tr>
492+
<td>divide</td>
493+
<td>frown</td>
494+
<td>hexagon</td>
495+
<td>key</td>
496+
</tr>
497+
<tr>
498+
<td>meh</td>
499+
<td>mouse-pointer</td>
500+
<td>smile</td>
501+
<td>tool</td>
502+
</tr>
503+
<tr>
504+
<td>x-octagon</td>
505+
<td></td>
506+
<td></td>
507+
<td></td>
508+
</tr>
509+
</table>
510+
511+
Here is an exhaustive list of all currently supported icons:
512+
483513
<!--
484514
This table should match the icon list in `app/models/repository_actions/icons.rb` in the internal github repo.
485-
This table does not match the latest version the feather library.
486-
(Brand icons are omitted, and our supported list is not necessarily up-to-date with the latest version of the feather icon library.)
487515
To support a new icon, update `app/models/repository_actions/icons.rb` and add the svg to `/static/images/icons/feather` in the internal github repo.
488516
-->
489517

0 commit comments

Comments
 (0)