aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md38
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md26
-rw-r--r--.github/pull_request_template.md13
-rw-r--r--.github/workflows/pr.yml23
-rw-r--r--.github/workflows/update.yml30
5 files changed, 130 insertions, 0 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
new file mode 100644
index 0000000..dc0e021
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,38 @@
+---
+name: Bug report
+about: Create a report to help us improve
+title: "[Bug report] "
+labels: ["bug"]
+assignees:
+ - base16-project/vim
+---
+
+## Describe the bug
+
+<!-- A clear and concise description of what the bug is. -->
+
+## Expected behavior
+
+<!-- A clear and concise description of what you expected to happen. -->
+
+## Screenshots
+
+<!-- If applicable, add screenshots to help explain your problem. -->
+
+## **System**
+
+**Vim or Neovim:**
+
+**Vim or Neovim version:**
+
+**Any other plugins you may consider relevant:**
+
+## Minimal configuration file
+
+<!-- Add a minimal configuration file to dramatically increase your
+chances of receiving help from a maintainer. -->
+
+## Additional context
+
+<!-- Add any other context about the problem here. -->
+
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
new file mode 100644
index 0000000..d9b663b
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,26 @@
+---
+name: Feature request
+about: Suggest an idea for this project
+title: "[Feature request] "
+labels: ["feature"]
+assignees:
+ - base16-project/vim
+---
+
+## Is your feature request related to a problem? Please describe.
+
+<!-- A clear and concise description of what the problem is. -->
+
+## 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/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 0000000..0838e1d
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,13 @@
+# Description
+
+<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. -->
+
+Fixes #ISSUE_NUMBER
+
+# Checklist
+
+- [ ] I have built the project after my changes following [the build
+ instructions](https://github.com/base16-project/base16-vim/blob/main/CONTRIBUTING.md#building)
+ using `make`
+- [ ] I have confirmed that my changes produce no regressions after building
+- [ ] I have pushed the built files to this pull request
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml
new file mode 100644
index 0000000..7d412ae
--- /dev/null
+++ b/.github/workflows/pr.yml
@@ -0,0 +1,23 @@
+name: Check that running `make` does not produce additional changes
+on:
+ pull_request:
+ branches:
+ - master
+jobs:
+ check:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: 3.8
+ - name: Upgrade pip
+ run: python -m pip install --upgrade pip
+ - name: Install pybase16
+ run: pip install pybase16-builder
+ - name: Fetch the repository code
+ uses: actions/checkout@v2
+ - name: Run make
+ run: make
+ - name: Check if there are changes
+ run: git diff --exit-code
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
new file mode 100644
index 0000000..b18b58a
--- /dev/null
+++ b/.github/workflows/update.yml
@@ -0,0 +1,30 @@
+name: Update with the latest base16-project/base16-schemes
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: "0 0 * * 0" # https://crontab.guru/every-week
+
+jobs:
+ run:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Fetch the repository code
+ uses: actions/checkout@v3
+ with:
+ token: ${{ secrets.BOT_ACCESS_TOKEN }}
+ - name: Fetch the schemes repository
+ uses: actions/checkout@v3
+ with:
+ repository: base16-project/base16-schemes
+ path: schemes
+ token: ${{ secrets.BOT_ACCESS_TOKEN }}
+ - name: Update schemes
+ uses: base16-project/base16-builder-go@latest
+ - name: Commit the changes, if any
+ uses: stefanzweifel/git-auto-commit-action@v4
+ with:
+ commit_message: Update with the latest base16-project colorschemes
+ branch: ${{ github.head_ref }}
+ commit_user_name: base16-project-bot
+ commit_user_email: base16themeproject@proton.me
+ commit_author: base16-project-bot <base16themeproject@proton.me>