forked from agibsonsw/PrintHtml
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e374f8
commit acb3b1a
Showing
8 changed files
with
424 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
# Wildcard labels | ||
|
||
brace_expansion: true | ||
extended_glob: true | ||
|
||
rules: | ||
- labels: [infrastructure] | ||
patterns: ['*|-@(*.md|*.py|*.sublime-@(keymap|menu|settings|commands))', '.github/**'] | ||
|
||
- labels: [source] | ||
patterns: ['**/*.py|-tests'] | ||
|
||
- labels: [docs] | ||
patterns: ['**/*.md|docs/**'] | ||
|
||
- labels: [tests] | ||
patterns: ['tests/**'] | ||
|
||
- labels: [export-html] | ||
patterns: ['ExportHtml.py'] | ||
|
||
- labels: [html-assets] | ||
patterns: ['@(js|css)/**'] | ||
|
||
- labels: [color-schemes] | ||
patterns: ['ColorSchemes/**'] | ||
|
||
- labels: [icons] | ||
patterns: ['icons/**'] | ||
|
||
- labels: [export-bbcode] | ||
patterns: ['ExportBbcode.py'] | ||
|
||
- labels: [scheme-handling] | ||
patterns: ['lib/color_scheme*.py|lib/rgba.py|lib/x11colors.py'] | ||
|
||
- labels: [notify] | ||
patterns: ['lib/notify.py'] | ||
|
||
- labels: [browser] | ||
patterns: ['lib/browsers.py'] | ||
|
||
- labels: [settings] | ||
patterns: ['*.sublime-@(keymap|menu|settings|commands)'] | ||
|
||
# WIP | ||
|
||
wip: | ||
- work-in-progress | ||
- needs-review | ||
- needs-decision | ||
- needs-confirmation | ||
- requires-changes | ||
- rejected | ||
|
||
# Label management | ||
|
||
delete_labels: true | ||
|
||
colors: | ||
bug: '#c45b46' | ||
feature: '#7b17d8' | ||
enhancement: '#0b9e9e' | ||
support: '#efbe62' | ||
maintenance: '#b2ffeb' | ||
category: '#709ad8' | ||
subcategory: '#bfd4f2' | ||
pending: '#f0f49a' | ||
rejected: '#f7c7be' | ||
approved: '#beed6d' | ||
low: '#dddddd' | ||
bot: '#000000' | ||
|
||
labels: | ||
- name: bug | ||
color: bug | ||
description: Bug report. | ||
|
||
- name: feature | ||
color: feature | ||
description: Feature request. | ||
|
||
- name: enhancement | ||
color: enhancement | ||
|
||
- name: maintenance | ||
color: maintenance | ||
description: Maintenance chore. | ||
|
||
- name: support | ||
color: support | ||
description: Support request. | ||
|
||
- name: tests | ||
color: category | ||
description: Related to testing. | ||
|
||
- name: infrastructure | ||
color: category | ||
description: Related to project infrastructure. | ||
|
||
- name: source | ||
color: category | ||
description: Related to source code. | ||
|
||
- name: docs | ||
color: category | ||
description: Related to documentation. | ||
|
||
- name: export-html | ||
color: subcategory | ||
description: Related to HTML exporting. | ||
|
||
- name: export-bbcode | ||
color: subcategory | ||
description: Related to BBCode exporting. | ||
|
||
- name: scheme-handling | ||
color: subcategory | ||
description: Related to scheme handling. | ||
|
||
- name: notify | ||
color: subcategory | ||
description: Related to notifications. | ||
|
||
- name: browser | ||
color: subcategory | ||
description: Related to browser handling. | ||
|
||
- name: html-assets | ||
color: subcategory | ||
description: Related to HTML assets. | ||
|
||
- name: color-schemes | ||
color: subcategory | ||
description: Related to provided color schemes. | ||
|
||
- name: icons | ||
color: subcategory | ||
description: Related to icons. | ||
|
||
- name: settings | ||
color: subcategory | ||
description: Related to Sublime settings. | ||
|
||
- name: more-info-needed | ||
color: pending | ||
description: More information is required. | ||
|
||
- name: needs-confirmation | ||
color: pending | ||
description: The alleged behavior needs to be confirmed. | ||
|
||
- name: needs-decision | ||
color: pending | ||
description: A decision needs to be made regarding request. | ||
|
||
- name: confirmed | ||
color: approved | ||
description: Confirmed bug report or approved feature request. | ||
|
||
- name: maybe | ||
color: low | ||
description: Pending approval of low priority request. | ||
|
||
- name: duplicate | ||
color: rejected | ||
description: The issue has been previously reported. | ||
|
||
- name: wontfix | ||
color: rejected | ||
description: The issue will not be fixed for the stated reasons. | ||
|
||
- name: invalid | ||
color: rejected | ||
description: Invalid report (user error, upstream issue, etc). | ||
|
||
- name: triage | ||
color: pending | ||
description: Issue needs triage. | ||
|
||
- name: work-in-progress | ||
color: pending | ||
description: A partial solution. More changes will be coming. | ||
|
||
- name: needs-review | ||
color: pending | ||
description: Needs to be reviewed and/or approved. | ||
|
||
- name: requires-changes | ||
color: pending | ||
description: Awaiting updates after a review. | ||
|
||
- name: approved | ||
color: approved | ||
description: The pull request is ready to be merged. | ||
|
||
- name: rejected | ||
color: rejected | ||
description: The pull request is rejected for the stated reasons. | ||
|
||
- name: skip-triage | ||
color: bot | ||
description: Tells bot to not tag a new issue with 'triage'. | ||
|
||
- name: skip-review | ||
color: bot | ||
description: Tells bot to not tag a reviews with 'needs-review'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
tests: | ||
|
||
env: | ||
TOXENV: py37 | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools tox | ||
- name: Tests | ||
run: | | ||
python -m tox | ||
lint: | ||
|
||
env: | ||
TOXENV: lint | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools tox | ||
npm install -g jshint | ||
- name: Lint | ||
run: | | ||
python -m tox | ||
jshint . | ||
documents: | ||
|
||
env: | ||
TOXENV: documents | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools tox | ||
- name: Install Aspell | ||
run: | | ||
sudo apt-get install aspell aspell-en | ||
- name: Build documents | ||
run: | | ||
python -m tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: deploy | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'st3-*' | ||
|
||
jobs: | ||
|
||
documents: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
python -m pip install -r requirements/docs.txt | ||
- name: Deploy documents | ||
run: | | ||
git config user.name facelessuser | ||
git config user.email "${{ secrets.GH_EMAIL }}" | ||
git remote add gh-token "https://${{ secrets.GITHUB_TOKEN }}@github.com/facelessuser/ExportHtml.git" | ||
git fetch gh-token && git fetch gh-token gh-pages:gh-pages | ||
python -m mkdocs gh-deploy -v --clean --remote-name gh-token | ||
git push gh-token gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
name: pull request | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
tests: | ||
|
||
env: | ||
TOXENV: py37 | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools tox | ||
- name: Tests | ||
run: | | ||
python -m tox | ||
lint: | ||
|
||
env: | ||
TOXENV: lint | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Setup Node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: '10' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools tox | ||
npm install -g jshint | ||
- name: Lint | ||
run: | | ||
python -m tox | ||
jshint . | ||
documents: | ||
|
||
env: | ||
TOXENV: documents | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Python | ||
uses: actions/setup-python@v1 | ||
with: | ||
python-version: 3.7 | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools tox | ||
- name: Install Aspell | ||
run: | | ||
sudo apt-get install aspell aspell-en | ||
- name: Build documents | ||
run: | | ||
python -m tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
site/* | ||
build/* | ||
.pytest_cache | ||
.tox/** |
Oops, something went wrong.