From 30a9d11fe41151a481916eae00d76c802c900575 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Wed, 7 Aug 2024 09:34:59 +1000 Subject: [PATCH 1/3] Added WinApps Launcher as a submodule --- .gitmodules | 3 +++ WinApps-Launcher | 1 + 2 files changed, 4 insertions(+) create mode 100644 .gitmodules create mode 160000 WinApps-Launcher diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..2c3ac9c --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "WinApps-Launcher"] + path = WinApps-Launcher + url = https://github.com/winapps-org/WinApps-Launcher.git diff --git a/WinApps-Launcher b/WinApps-Launcher new file mode 160000 index 0000000..eaa660d --- /dev/null +++ b/WinApps-Launcher @@ -0,0 +1 @@ +Subproject commit eaa660d39bf3f49b136c98c87c35e3e12f118f8f From c3fc99dda9ba7934a21a53419f9767d3ae9ff2f3 Mon Sep 17 00:00:00 2001 From: Oskar Manhart <52569953+oskardotglobal@users.noreply.github.com> Date: Wed, 7 Aug 2024 11:00:06 +0200 Subject: [PATCH 2/3] feat: receive automatic updates --- .github/workflows/update.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/update.yaml diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml new file mode 100644 index 0000000..199f58d --- /dev/null +++ b/.github/workflows/update.yaml @@ -0,0 +1,25 @@ +name: Update submodules +on: + repository_dispatch: + types: update + +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + submodules: recursive + + - name: Update module + run: | + git submodule update --init --recursive --checkout -f + + - name: Commit and push + uses: EndBug/add-and-commit@v9 + with: + add: "WinApps-Launcher" + default_author: github_actions + message: "Update submodules" + push: true + fetch: true From ed0f7db8ffd8cbfed2d93b1d7abe01ec3b9b5254 Mon Sep 17 00:00:00 2001 From: Rohan Barar Date: Fri, 9 Aug 2024 08:19:29 +1000 Subject: [PATCH 3/3] Updated pre-commit hooks to allow submodules --- .github/workflows/update.yaml | 4 ++-- .pre-commit-config.yaml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 199f58d..f939450 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -2,7 +2,7 @@ name: Update submodules on: repository_dispatch: types: update - + jobs: update: runs-on: ubuntu-latest @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 with: submodules: recursive - + - name: Update module run: | git submodule update --init --recursive --checkout -f diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 811e1b4..b5f2edb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,8 +32,6 @@ repos: - id: detect-private-key - id: end-of-file-fixer - id: fix-byte-order-marker - - id: forbid-new-submodules - - id: forbid-submodules - id: mixed-line-ending - id: pretty-format-json args: [ "--autofix", "--no-sort-keys" ]