fix(ci): update some parameters [skip ci]
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
with:
|
||||
filename: metrics.organization.svg
|
||||
user: github
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
|
||||
base: header, repositories
|
||||
|
||||
- name: Large display
|
||||
|
||||
@@ -32,7 +32,7 @@ It is mostly intended for metrics used outside of GitHub, since these informatio
|
||||
|
||||
<!--examples-->
|
||||
```yaml
|
||||
name: User introduction
|
||||
name: Organization introduction
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.introduction.svg
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
- name: User introduction
|
||||
- name: Organization introduction
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.introduction.svg
|
||||
@@ -8,7 +8,7 @@
|
||||
plugin_introduction: yes
|
||||
prod:
|
||||
with:
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
|
||||
|
||||
- name: Repository introduction
|
||||
uses: lowlighter/metrics@latest
|
||||
|
||||
@@ -63,6 +63,8 @@
|
||||
plugin_music: yes
|
||||
plugin_music_mode: recent
|
||||
plugin_music_provider: youtube
|
||||
prod:
|
||||
skip: true
|
||||
|
||||
- name: Last.fm - Recently listed
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -71,4 +73,6 @@
|
||||
plugin_music_token: ${{ secrets.LASTFM_TOKEN }}
|
||||
plugin_music: yes
|
||||
plugin_music_provider: lastfm
|
||||
plugin_music_user: RJ
|
||||
plugin_music_user: RJ
|
||||
prod:
|
||||
skip: true
|
||||
@@ -55,6 +55,7 @@ with:
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed: 'yes'
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_url: https://lecoq.io
|
||||
|
||||
```
|
||||
```yaml
|
||||
@@ -66,6 +67,7 @@ with:
|
||||
plugin_pagespeed: 'yes'
|
||||
plugin_pagespeed_detailed: 'yes'
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_url: https://lecoq.io
|
||||
|
||||
```
|
||||
```yaml
|
||||
@@ -77,6 +79,7 @@ with:
|
||||
plugin_pagespeed: 'yes'
|
||||
plugin_pagespeed_screenshot: 'yes'
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_url: https://lecoq.io
|
||||
|
||||
```
|
||||
<!--/examples-->
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
token: NOT_NEEDED
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_url: https://lecoq.io
|
||||
|
||||
- name: Detailed report
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -14,6 +15,7 @@
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_detailed: yes
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_url: https://lecoq.io
|
||||
|
||||
- name: Screenshot
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -23,4 +25,5 @@
|
||||
plugin_pagespeed: yes
|
||||
plugin_pagespeed_screenshot: yes
|
||||
plugin_pagespeed_token: ${{ secrets.PAGESPEED_TOKEN }}
|
||||
plugin_pagespeed_url: https://lecoq.io
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ name: Project from a repository
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.projects.svg
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
|
||||
base: ''
|
||||
plugin_projects: 'yes'
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
uses: lowlighter/metrics@latest
|
||||
with:
|
||||
filename: metrics.plugin.projects.svg
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
|
||||
base: ""
|
||||
plugin_projects: yes
|
||||
plugin_projects_repositories: lowlighter/metrics/projects/1
|
||||
|
||||
@@ -47,7 +47,7 @@ with:
|
||||
token: NOT_NEEDED
|
||||
base: ''
|
||||
plugin_stock: 'yes'
|
||||
plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }}
|
||||
plugin_stock_token: ${{ secrets.STOCK_TOKEN }}
|
||||
plugin_stock_symbol: TSLA
|
||||
|
||||
```
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
token: NOT_NEEDED
|
||||
base: ""
|
||||
plugin_stock: yes
|
||||
plugin_stock_token: ${{ secrets.RAPIDAPI_TOKEN }}
|
||||
plugin_stock_token: ${{ secrets.STOCK_TOKEN }}
|
||||
plugin_stock_symbol: TSLA
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
plugin_traffic: yes
|
||||
prod:
|
||||
with:
|
||||
token: ${{ secrets.METRICS_BOT_TOKEN }}
|
||||
token: ${{ secrets.METRICS_TOKEN_WITH_SCOPES }}
|
||||
@@ -6,9 +6,6 @@
|
||||
plugin_tweets: yes
|
||||
plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }}
|
||||
plugin_tweets_user: github
|
||||
prod:
|
||||
with:
|
||||
user: botlighter
|
||||
|
||||
- name: Latest tweets including attachments
|
||||
uses: lowlighter/metrics@latest
|
||||
@@ -19,7 +16,3 @@
|
||||
plugin_tweets_token: ${{ secrets.TWITTER_TOKEN }}
|
||||
plugin_tweets_attachments: yes
|
||||
plugin_tweets_user: github
|
||||
prod:
|
||||
with:
|
||||
user: botlighter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user