mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 08:55:31 +02:00
Refactor theme readme files and funding configuration for consistency
This commit is contained in:
parent
ee9f84991f
commit
2b52886c65
311 changed files with 6490 additions and 6082 deletions
3
.github/FUNDING.yml
vendored
3
.github/FUNDING.yml
vendored
|
@ -1,3 +1,2 @@
|
|||
|
||||
patreon: zen_browser
|
||||
ko_fi: zen_browser
|
||||
ko_fi: zen_browser
|
||||
|
|
2
.github/ISSUE_TEMPLATE/config.yml
vendored
2
.github/ISSUE_TEMPLATE/config.yml
vendored
|
@ -1 +1 @@
|
|||
blank_issues_enabled: true
|
||||
blank_issues_enabled: true
|
||||
|
|
2
.github/ISSUE_TEMPLATE/create-theme.yml
vendored
2
.github/ISSUE_TEMPLATE/create-theme.yml
vendored
|
@ -47,7 +47,7 @@ body:
|
|||
attributes:
|
||||
label: Theme Styles
|
||||
render: css
|
||||
|
||||
|
||||
description: The CSS styles for the theme. If the theme is a color theme, the styles should be a JSON object with the color values.
|
||||
placeholder: |
|
||||
/* Remember to strip @-moz-document url-prefix('chrome://') {... */
|
||||
|
|
12
.github/workflows/create-theme.yml
vendored
12
.github/workflows/create-theme.yml
vendored
|
@ -16,7 +16,7 @@ jobs:
|
|||
- name: Install python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Setup python modules
|
||||
run: |
|
||||
|
@ -39,19 +39,19 @@ jobs:
|
|||
echo "THEME_IS_COLOR_THEME=${{ contains(fromJson(steps.issue-parser.outputs.jsonString)['is-color-theme'], 'JSON Color Theme') }}" >> $GITHUB_ENV
|
||||
|
||||
- name: Write styles to file
|
||||
uses: 'DamianReeves/write-file-action@master'
|
||||
uses: "DamianReeves/write-file-action@master"
|
||||
with:
|
||||
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['styles'] }}
|
||||
path: theme-styles.css
|
||||
|
||||
- name: Write readme to file
|
||||
uses: 'DamianReeves/write-file-action@master'
|
||||
uses: "DamianReeves/write-file-action@master"
|
||||
with:
|
||||
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['readme'] }}
|
||||
path: theme-readme.md
|
||||
|
||||
- name: Write preferences to file
|
||||
uses: 'DamianReeves/write-file-action@master'
|
||||
uses: "DamianReeves/write-file-action@master"
|
||||
if: fromJson(steps.issue-parser.outputs.jsonString)['preferences'] != ''
|
||||
with:
|
||||
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['preferences'] }}
|
||||
|
@ -97,9 +97,9 @@ jobs:
|
|||
add-paths: themes/
|
||||
labels: staged
|
||||
token: ${{ secrets.DEPLOY_KEY }}
|
||||
commit-message: 'Add theme: ${{ env.THEME_NAME }}'
|
||||
commit-message: "Add theme: ${{ env.THEME_NAME }}"
|
||||
delete-branch: true
|
||||
title: 'Add theme: ${{ env.THEME_NAME }}'
|
||||
title: "Add theme: ${{ env.THEME_NAME }}"
|
||||
body: |
|
||||
# Add theme: ${{ env.THEME_NAME }}
|
||||
|
||||
|
|
3
.github/workflows/pr-check.yml
vendored
3
.github/workflows/pr-check.yml
vendored
|
@ -1,4 +1,3 @@
|
|||
|
||||
name: Check PR is valid
|
||||
|
||||
on:
|
||||
|
@ -16,7 +15,7 @@ jobs:
|
|||
- name: Install python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Setup python modules
|
||||
run: |
|
||||
|
|
2
.github/workflows/submit-pr.yml
vendored
2
.github/workflows/submit-pr.yml
vendored
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Install python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Setup python modules
|
||||
run: |
|
||||
|
|
6
.github/workflows/update-theme-date.yml
vendored
6
.github/workflows/update-theme-date.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
|||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'themes/**'
|
||||
- "themes/**"
|
||||
|
||||
jobs:
|
||||
update-timestamp:
|
||||
|
@ -24,7 +24,7 @@ jobs:
|
|||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.x'
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Detect changed themes
|
||||
id: get_changes
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
- name: Setup python modules
|
||||
run: |
|
||||
pip3 install requests
|
||||
|
||||
|
||||
- name: Setup Git
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue