repo: reorder .github
This commit is contained in:
18
.github/scripts/quickstart/template/README.md
vendored
Normal file
18
.github/scripts/quickstart/template/README.md
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
### 📕 <%= `${name.charAt(0).toLocaleUpperCase()}${name.substring(1)}` %> template
|
||||
|
||||
<table>
|
||||
<td align="center">
|
||||
<img src="">
|
||||
<img width="900" height="1" alt="">
|
||||
</td>
|
||||
</table>
|
||||
|
||||
#### ℹ️ Examples workflows
|
||||
|
||||
```yaml
|
||||
- uses: lowlighter/metrics@latest
|
||||
with:
|
||||
# ... other options
|
||||
setup_community_templates: user/metrics@master:<%= name %>
|
||||
template: "@<%= name %>"
|
||||
```
|
||||
16
.github/scripts/quickstart/template/image.svg
vendored
Normal file
16
.github/scripts/quickstart/template/image.svg
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="480" height="99999" class="<%%= !animated ? 'no-animations' : '' %>">
|
||||
|
||||
<defs><style><%%= fonts %></style></defs>
|
||||
<style data-optimizable="true"><%%= style %></style>
|
||||
|
||||
<foreignObject x="0" y="0" width="100%" height="100%">
|
||||
<div xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<%% for (const partial of [...partials]) { %>
|
||||
<%%- await include(`partials/${partial}.ejs`) %>
|
||||
<%% } %>
|
||||
|
||||
<div id="metrics-end"></div>
|
||||
</div>
|
||||
</foreignObject>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 562 B |
14
.github/scripts/quickstart/template/metadata.yml
vendored
Normal file
14
.github/scripts/quickstart/template/metadata.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
name: "🖼️ Template name"
|
||||
extends: classic # Fallback to "classic" template "template.mjs" if not trusted
|
||||
index: ~ # Leave as it (this is used to order plugins on metrics README.md)
|
||||
supports:
|
||||
- user # Support users account
|
||||
- organization # Support organizations account
|
||||
- repository # Support repositories metrics
|
||||
formats:
|
||||
- svg # Support SVG output
|
||||
- png # Support PNG output
|
||||
- jpeg # Support JPEG output
|
||||
- json # Support JSON output
|
||||
- markdown # Support markdown output
|
||||
- markdown-pdf # Support PDF output
|
||||
5
.github/scripts/quickstart/template/partials/_.json
vendored
Normal file
5
.github/scripts/quickstart/template/partials/_.json
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
[
|
||||
"base.header",
|
||||
"base.activity+community",
|
||||
"base.repositories"
|
||||
]
|
||||
Reference in New Issue
Block a user