aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFausto Núñez Alberro <fausto.nunez@mailbox.org>2021-01-16 14:16:57 +0100
committerGitHub <noreply@github.com>2021-01-16 14:16:57 +0100
commit1823a9b541cd3305003fdeffb34ca1a46dd4abbf (patch)
treeacb7ee57b379818335dc0cc34018799dfce8bea7 /.github/workflows
parent6191622d5806d4448fa2285047936bdcee57a098 (diff)
parentce854ffaae0fcee12a4f1a808a7e165776413db7 (diff)
Merge pull request #1 from fnune/automate-with-pybase16-fork
Automate with pybase16
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/update.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
new file mode 100644
index 0000000..aed0bdc
--- /dev/null
+++ b/.github/workflows/update.yml
@@ -0,0 +1,25 @@
+name: Update the repository with the latest base16 colorschemes
+on:
+ schedule:
+ - cron: "0 0 * * 0" # https://crontab.guru/every-week
+jobs:
+ run:
+ 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: Commit the changes, if any
+ uses: stefanzweifel/git-auto-commit-action@v4.1.1
+ with:
+ commit_message: Update repository with the latest base16 colorschemes
+ branch: ${{ github.head_ref }}