From 5132e445349210e0bbadb1d2e24f24f889b0a87b Mon Sep 17 00:00:00 2001 From: nobbi1991 <48419518+nobbi1991@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:56:11 +0200 Subject: [PATCH 1/4] project files --- .gitignore | 3 +++ .idea/inspectionProfiles/Project_Default.xml | 23 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .idea/inspectionProfiles/Project_Default.xml diff --git a/.gitignore b/.gitignore index d673122..6a1c734 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ /tests/.coverage /.coverage *.log + +/shelf/ +/workspace.xml \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..bd4a5b6 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,23 @@ + + + + \ No newline at end of file From 946da837ada83bc6a2f33d5dba310e684f1a11bf Mon Sep 17 00:00:00 2001 From: nobbi1991 <48419518+nobbi1991@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:05:16 +0100 Subject: [PATCH 2/4] added user for update_pre_commit_hooks.yml --- .github/workflows/update_pre_commit_hooks.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update_pre_commit_hooks.yml b/.github/workflows/update_pre_commit_hooks.yml index 7bfde65..e554a27 100644 --- a/.github/workflows/update_pre_commit_hooks.yml +++ b/.github/workflows/update_pre_commit_hooks.yml @@ -1,7 +1,6 @@ name: Update pre-commit hooks on: - workflow_dispatch: schedule: - cron: '0 0 * * 0' # Runs every Sunday at midnight UTC push: @@ -13,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - # Checkout the repository + # Checkout repository - name: Checkout repository uses: actions/checkout@v2 @@ -27,8 +26,14 @@ jobs: # Run pre-commit autoupdate to update the hook versions run: pre-commit autoupdate - # Create a new branch and push changes (if the branch does not exist) + # Set git user identity to avoid "empty ident name" error + - name: Set Git user identity + run: | + git config --global user.email "actions@github.com" + git config --global user.name "GitHub Actions" + - name: Create branch and push updates + # Create a new branch and push updates (if the branch does not exist) run: | # Check if the branch exists, if not, create it git fetch origin From 07a46205aa1c9d180ee09c0aa9484af450c28e38 Mon Sep 17 00:00:00 2001 From: nobbi1991 <48419518+nobbi1991@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:06:21 +0100 Subject: [PATCH 3/4] fmt --- .gitignore | 3 +-- .idea/inspectionProfiles/Project_Default.xml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6a1c734..6abc0b8 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,5 @@ /tests/.coverage /.coverage *.log - /shelf/ -/workspace.xml \ No newline at end of file +/workspace.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index bd4a5b6..becb7d5 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -20,4 +20,4 @@ - \ No newline at end of file + From 4283737b3467800258b2a26602e66f76d4f98ebd Mon Sep 17 00:00:00 2001 From: nobbi1991 <48419518+nobbi1991@users.noreply.github.com> Date: Fri, 29 Nov 2024 15:08:25 +0100 Subject: [PATCH 4/4] updated version --- .github/workflows/update_pre_commit_hooks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update_pre_commit_hooks.yml b/.github/workflows/update_pre_commit_hooks.yml index e554a27..232c94f 100644 --- a/.github/workflows/update_pre_commit_hooks.yml +++ b/.github/workflows/update_pre_commit_hooks.yml @@ -14,7 +14,7 @@ jobs: steps: # Checkout repository - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # Install pre-commit - name: Install pre-commit