diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..827c984d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,35 @@ +--- +name: Bug report +about: Create a report to help us improve +title: '' +labels: bug +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Please tell us about your environment:** + + - Node Version: v0.0.0 + - Protocol Version: 1 + - Compiler version: v0.0.0 + - VM Version: fate | fate2 + - SDK Version: v0.0.0 + - Python version: v3.7.0 + +**Other information** (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. forum, telegram, etc) diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..4fe86d5e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: '' +labels: feature +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. diff --git a/.github/workflows/docs-main.yml b/.github/workflows/docs-main.yml new file mode 100644 index 00000000..081bdd64 --- /dev/null +++ b/.github/workflows/docs-main.yml @@ -0,0 +1,23 @@ +name: Publish main docs +on: + push: + branches: ['main'] + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + - uses: actions/cache@v2 + with: + path: ~/.cache/pip3 + key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }} + - run: pip3 install -r docs/requirements.txt + - run: git config --global user.email "github-action@users.noreply.github.com" + - run: git config --global user.name "GitHub Action" + - run: mike deploy --push main diff --git a/.github/workflows/docs-release.yml b/.github/workflows/docs-release.yml new file mode 100644 index 00000000..2ebf1fb1 --- /dev/null +++ b/.github/workflows/docs-release.yml @@ -0,0 +1,24 @@ +name: Publish release docs +on: + release: + types: [released] + +jobs: + main: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + - uses: actions/cache@v2 + with: + path: ~/.cache/pip3 + key: ${{ runner.os }}-pip-${{ hashFiles('docs/requirements.txt') }} + - run: pip3 install -r docs/requirements.txt + - run: git config --global user.email "github-action@users.noreply.github.com" + - run: git config --global user.name "GitHub Action" + - run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV + - run: mike deploy --push --update-aliases $RELEASE_VERSION latest \ No newline at end of file