From 02010edac36d80b90e96e94e505a9e34a67f7b89 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 23 Aug 2023 15:09:57 -0600 Subject: [PATCH] chore: move submodule update to dependabot and remove unused workflow (#1478) --- .github/dependabot.yml | 7 +++++++ .github/workflows/submodule-sync.yml | 29 ---------------------------- 2 files changed, 7 insertions(+), 29 deletions(-) delete mode 100644 .github/workflows/submodule-sync.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3a22edad..e9fb31f3 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -15,3 +15,10 @@ updates: open-pull-requests-limit: 10 labels: - "merge when passing" +- package-ecosystem: gitsubmodule + directory: / + schedule: + interval: daily + open-pull-requests-limit: 10 + labels: + - "merge when passing" diff --git a/.github/workflows/submodule-sync.yml b/.github/workflows/submodule-sync.yml deleted file mode 100644 index 19e4244b..00000000 --- a/.github/workflows/submodule-sync.yml +++ /dev/null @@ -1,29 +0,0 @@ -on: - workflow_dispatch: - -jobs: - sync: - name: Submodule Sync - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - submodules: recursive - - - name: Git Sumbodule Update - run: | - git pull --recurse-submodules - git submodule update --remote --recursive - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v5.0.2 - with: - title: "Updated submodule" - labels: "merge when passing" - branch: "chore/update-submodule" - commit-message: "Updated submodule" - body: "Updated submodule" - token: ${{ secrets.PAT_TOKEN }}