ci: update sponsorships example token [skip test]

This commit is contained in:
lowlighter
2023-01-17 12:40:54 -05:00
parent 8b34b0ab93
commit 381306aae4
11 changed files with 90 additions and 89 deletions

View File

@@ -16,7 +16,7 @@
<th nowrap="nowrap" align="center" title="🎟️ Follow-up of issues and pull requests">🎟️</th>
<th nowrap="nowrap" align="center" title="🎭 Comment reactions">🎭</th>
<th nowrap="nowrap" align="center" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</th>
<th nowrap="nowrap" align="center" title="🙋 Introduction">🙋</th>
<th nowrap="nowrap" align="center" title="💝 GitHub Sponsorships">💝</th>
<th nowrap="nowrap" align="center" title="💕 GitHub Sponsors">💕</th>
<th nowrap="nowrap" align="center" title="📓 Featured repositories">📓</th>
<th nowrap="nowrap" align="center" title="💬 Discussions">💬</th>
@@ -29,8 +29,8 @@
<th nowrap="nowrap" align="center" title="♐ Random code snippet">♐</th>
<th nowrap="nowrap" align="center" title="🎫 Gists">🎫</th>
<th nowrap="nowrap" align="center" title="🗂️ GitHub projects">🗂️</th>
<th nowrap="nowrap" align="center" title="🙋 Introduction">🙋</th>
<th nowrap="nowrap" align="center" title="🌇 GitHub Skyline">🌇</th>
<th nowrap="nowrap" align="center" title="💝 GitHub Sponsorships">💝</th>
<th nowrap="nowrap" align="center" title="💭 GitHub Community Support">💭</th>
<th nowrap="nowrap" align="center" title="⏱️ Google PageSpeed">⏱️</th>
<th nowrap="nowrap" align="center" title="🐤 Latest tweets">🐤</th>
@@ -57,7 +57,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="people">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">✔️</td>
@@ -70,8 +70,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="gists">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="support">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -98,7 +98,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">❌</td>
<td nowrap="nowrap" align="center" data-plugin="people">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">❌</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">❌</td>
@@ -111,8 +111,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">❌</td>
<td nowrap="nowrap" align="center" data-plugin="gists">❌</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">❌</td>
@@ -139,7 +139,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">❌</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">❌</td>
<td nowrap="nowrap" align="center" data-plugin="people">❌</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">❌</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">❌</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">❌</td>
@@ -152,8 +152,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">❌</td>
<td nowrap="nowrap" align="center" data-plugin="gists">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="projects">❌</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">❌</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">❌</td>
@@ -180,7 +180,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">✓</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">✓</td>
<td nowrap="nowrap" align="center" data-plugin="people">✓</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✓</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✓</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">✓</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">✓</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">✓</td>
@@ -193,8 +193,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">✓</td>
<td nowrap="nowrap" align="center" data-plugin="gists">✓</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✓</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✓</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">✓</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✓</td>
<td nowrap="nowrap" align="center" data-plugin="support">✓</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✓</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -224,7 +224,7 @@
<th nowrap="nowrap" align="center" title="🎟️ Follow-up of issues and pull requests">🎟️</th>
<th nowrap="nowrap" align="center" title="🎭 Comment reactions">🎭</th>
<th nowrap="nowrap" align="center" title="🧑‍🤝‍🧑 People">🧑‍🤝‍🧑</th>
<th nowrap="nowrap" align="center" title="🙋 Introduction">🙋</th>
<th nowrap="nowrap" align="center" title="💝 GitHub Sponsorships">💝</th>
<th nowrap="nowrap" align="center" title="💕 GitHub Sponsors">💕</th>
<th nowrap="nowrap" align="center" title="📓 Featured repositories">📓</th>
<th nowrap="nowrap" align="center" title="💬 Discussions">💬</th>
@@ -237,8 +237,8 @@
<th nowrap="nowrap" align="center" title="♐ Random code snippet">♐</th>
<th nowrap="nowrap" align="center" title="🎫 Gists">🎫</th>
<th nowrap="nowrap" align="center" title="🗂️ GitHub projects">🗂️</th>
<th nowrap="nowrap" align="center" title="🙋 Introduction">🙋</th>
<th nowrap="nowrap" align="center" title="🌇 GitHub Skyline">🌇</th>
<th nowrap="nowrap" align="center" title="💝 GitHub Sponsorships">💝</th>
<th nowrap="nowrap" align="center" title="💭 GitHub Community Support">💭</th>
<th nowrap="nowrap" align="center" title="⏱️ Google PageSpeed">⏱️</th>
<th nowrap="nowrap" align="center" title="🐤 Latest tweets">🐤</th>
@@ -265,7 +265,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="people">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">✔️</td>
@@ -278,8 +278,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="gists">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="support">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -306,7 +306,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">❌</td>
<td nowrap="nowrap" align="center" data-plugin="people">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">❌</td>
@@ -319,8 +319,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="gists">❌</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">✔️</td>
@@ -347,7 +347,7 @@
<td nowrap="nowrap" align="center" data-plugin="followup">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="reactions">❌</td>
<td nowrap="nowrap" align="center" data-plugin="people">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsors">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="repositories">❌</td>
<td nowrap="nowrap" align="center" data-plugin="discussions">❌</td>
@@ -360,8 +360,8 @@
<td nowrap="nowrap" align="center" data-plugin="code">❌</td>
<td nowrap="nowrap" align="center" data-plugin="gists">❌</td>
<td nowrap="nowrap" align="center" data-plugin="projects">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="introduction">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="skyline">❌</td>
<td nowrap="nowrap" align="center" data-plugin="sponsorships">❌</td>
<td nowrap="nowrap" align="center" data-plugin="support">❌</td>
<td nowrap="nowrap" align="center" data-plugin="pagespeed">✔️</td>
<td nowrap="nowrap" align="center" data-plugin="tweets">❌</td>

View File

@@ -506,27 +506,13 @@ jobs:
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🙋 Introduction - Organization introduction
- name: 💝 GitHub Sponsorships - 💝 GitHub Sponsorships
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.introduction.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
user: github
base: header
plugin_introduction: yes
output_action: none
delay: 120
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🙋 Introduction - Repository introduction
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.introduction.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
template: repository
repo: metrics
base: header
plugin_introduction: yes
filename: metrics.plugin.sponsorships.svg
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
plugin_sponsorships: yes
output_action: none
delay: 120
user: lowlighter
@@ -775,6 +761,32 @@ jobs:
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🙋 Introduction - Organization introduction
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.introduction.svg
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
user: github
base: header
plugin_introduction: yes
output_action: none
delay: 120
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🙋 Introduction - Repository introduction
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.introduction.repository.svg
token: ${{ secrets.METRICS_TOKEN }}
template: repository
repo: metrics
base: header
plugin_introduction: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 🌇 GitHub Skyline - GitHub Skyline
uses: lowlighter/metrics@master
with:
@@ -812,18 +824,6 @@ jobs:
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: 💝 GitHub Sponsorships - 💝 GitHub sponsorships
uses: lowlighter/metrics@master
with:
filename: metrics.plugin.sponsorships.svg
token: ${{ secrets.METRICS_TOKEN }}
base: ""
plugin_sponsorships: yes
output_action: none
delay: 120
user: lowlighter
plugins_errors_fatal: yes
if: ${{ success() || failure() }}
- name: ⏱️ Google PageSpeed - Succinct report
uses: lowlighter/metrics@master
with:

View File

@@ -121,13 +121,12 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</td>
</tr>
<tr>
<th><a href="source/plugins/introduction/README.md">🙋 Introduction</a></th>
<th><a href="source/plugins/sponsorships/README.md">💝 GitHub Sponsorships</a></th>
<th><a href="source/plugins/sponsors/README.md">💕 GitHub Sponsors</a></th>
</tr>
<tr>
<td align="center">
<details open><summary>For a user or an organization</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.introduction.svg" alt=""></img></details>
<details><summary>For a repository</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.introduction.repository.svg" alt=""></img></details>
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsorships.svg" alt=""></img>
<img width="900" height="1" alt="">
</td>
<td align="center">
@@ -213,7 +212,7 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
</tr>
<tr>
<th><a href="source/plugins/projects/README.md">🗂️ GitHub projects</a></th>
<th><a href="source/plugins/skyline/README.md">🌇 GitHub Skyline</a></th>
<th><a href="source/plugins/introduction/README.md">🙋 Introduction</a></th>
</tr>
<tr>
<td align="center">
@@ -221,18 +220,19 @@ Generate metrics that can be embedded everywhere, including your GitHub profile
<img width="900" height="1" alt="">
</td>
<td align="center">
<details open><summary>GitHub Skyline</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.svg" alt=""></img></details>
<details><summary>GitHub City</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.city.svg" alt=""></img></details>
<details open><summary>For a user or an organization</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.introduction.svg" alt=""></img></details>
<details><summary>For a repository</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.introduction.repository.svg" alt=""></img></details>
<img width="900" height="1" alt="">
</td>
</tr>
<tr>
<th><a href="source/plugins/sponsorships/README.md">💝 GitHub Sponsorships</a></th>
<th><a href="source/plugins/skyline/README.md">🌇 GitHub Skyline</a></th>
<th><a href="source/plugins/pagespeed/README.md">⏱️ Google PageSpeed</a></th>
</tr>
<tr>
<td align="center">
<img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsorships.svg" alt=""></img>
<details open><summary>GitHub Skyline</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.svg" alt=""></img></details>
<details><summary>GitHub City</summary><img alt="" width="400" src="https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.city.svg" alt=""></img></details>
<img width="900" height="1" alt="">
</td>
<td align="center">

40
action.yml generated
View File

@@ -612,14 +612,18 @@ inputs:
default: <default-value>
# ====================================================================================
# 🙋 Introduction
# 💝 GitHub Sponsorships
plugin_introduction:
description: Enable introduction plugin
plugin_sponsorships:
description: Enable sponsorships plugin
default: <default-value>
plugin_introduction_title:
description: Section title
plugin_sponsorships_sections:
description: Displayed sections
default: <default-value>
plugin_sponsorships_size:
description: Profile picture display size
default: <default-value>
# ====================================================================================
@@ -922,6 +926,17 @@ inputs:
description: Projects descriptions
default: <default-value>
# ====================================================================================
# 🙋 Introduction
plugin_introduction:
description: Enable introduction plugin
default: <default-value>
plugin_introduction_title:
description: Section title
default: <default-value>
# ====================================================================================
# 🌇 GitHub Skyline
@@ -949,21 +964,6 @@ inputs:
description: Advanced settings
default: <default-value>
# ====================================================================================
# 💝 GitHub Sponsorships
plugin_sponsorships:
description: Enable sponsorships plugin
default: <default-value>
plugin_sponsorships_sections:
description: Displayed sections
default: <default-value>
plugin_sponsorships_size:
description: Profile picture display size
default: <default-value>
# ====================================================================================
# 💭 GitHub Community Support

10
settings.example.json generated
View File

@@ -101,8 +101,8 @@
"people":{
"enabled": false, "//": "Enable people plugin"
},
"introduction":{
"enabled": false, "//": "Enable introduction plugin"
"sponsorships":{
"enabled": false, "//": "Enable sponsorships plugin"
},
"sponsors":{
"enabled": false, "//": "Enable sponsors plugin"
@@ -140,12 +140,12 @@
"projects":{
"enabled": false, "//": "Enable projects plugin"
},
"introduction":{
"enabled": false, "//": "Enable introduction plugin"
},
"skyline":{
"enabled": false, "//": "Enable skyline plugin"
},
"sponsorships":{
"enabled": false, "//": "Enable sponsorships plugin"
},
"support":{
"enabled": false, "//": "Enable support plugin"
},

View File

@@ -7,7 +7,7 @@ description: |
examples:
+for a user or an organization: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.introduction.svg
for a repository: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.introduction.repository.svg
index: 12
index: 26
supports:
- user
- organization

View File

@@ -7,7 +7,7 @@ notes: |
examples:
+GitHub Skyline: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.svg
GitHub City: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.skyline.city.svg
index: 26
index: 27
supports:
- user
scopes: []

View File

@@ -82,11 +82,11 @@ All product and company names are trademarks™ or registered® trademarks of th
<!--examples-->
```yaml
name: 💝 GitHub sponsorships
name: 💝 GitHub Sponsorships
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.sponsorships.svg
token: ${{ secrets.METRICS_TOKEN }}
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
plugin_sponsorships: yes

View File

@@ -1,7 +1,7 @@
- name: 💝 GitHub sponsorships
- name: 💝 GitHub Sponsorships
uses: lowlighter/metrics@latest
with:
filename: metrics.plugin.sponsorships.svg
token: ${{ secrets.METRICS_TOKEN }}
token: ${{ secrets.METRICS_TOKEN_PERSONAL }}
base: ""
plugin_sponsorships: yes

View File

@@ -4,6 +4,7 @@ description: |
This plugin displays sponsorships funded through [GitHub sponsors](https://github.com/sponsors/).
examples:
default: https://github.com/lowlighter/metrics/blob/examples/metrics.plugin.sponsorships.svg
index: 12
supports:
- user
- organization

View File

@@ -1,4 +1,4 @@
- name: 💝 GitHub Sponsorships - 💝 GitHub sponsorships
- name: 💝 GitHub Sponsorships - 💝 GitHub Sponsorships
uses: lowlighter/metrics@latest
with:
token: MOCKED_TOKEN