1.0.2
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 5 Apr 2022 09:09:43 +0000 (11:09 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 5 Apr 2022 09:09:43 +0000 (11:09 +0200)
.github/workflows/pre-commit-updater.yml [new file with mode: 0644]
setup.py

diff --git a/.github/workflows/pre-commit-updater.yml b/.github/workflows/pre-commit-updater.yml
new file mode 100644 (file)
index 0000000..9ae64e7
--- /dev/null
@@ -0,0 +1,28 @@
+name: Pre-commit auto-update
+on:
+  schedule:
+    - cron: '0 0 * * *'
+jobs:
+  auto-update:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - name: Set up Python
+        uses: actions/setup-python@v2
+        with:
+          python-version: 3.9
+      - name: Install pre-commit
+        run: pip install pre-commit
+      - name: Run pre-commit autoupdate
+        run: pre-commit autoupdate
+      - name: Create Pull Request
+        uses: peter-evans/create-pull-request@v2
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
+          branch: update/pre-commit-autoupdate
+          title: Auto-update pre-commit hooks
+          commit-message: Auto-update pre-commit hooks
+          body: |
+            Update versions of tools in pre-commit 
+            configs to latest version
+          labels: dependencies
\ No newline at end of file
index 2467c1901723be6413a92dc037cbeeb25e48f07d..fb0f84ad006a72a3e5cc83d1a4d66667b6f632a2 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ from setuptools import find_packages, setup
 
 PROJECT_NAME = "Music Assistant"
 PROJECT_PACKAGE_NAME = "music_assistant"
-PROJECT_VERSION = "1.0.1"
+PROJECT_VERSION = "1.0.2"
 PROJECT_REQ_PYTHON_VERSION = "3.9"
 PROJECT_LICENSE = "Apache License 2.0"
 PROJECT_AUTHOR = "Marcel van der Veldt"