Skip to content

Commit

Permalink
Submodules: dependabot updates and shallow clones (#1818)
Browse files Browse the repository at this point in the history
* add dependabot to automatically update submodules

* shallow submodule clones

* only update amrex with dependabot, others need to be pinned for now

---------

Co-authored-by: Aaron M. Lattanzi <[email protected]>
  • Loading branch information
baperry2 and AMLattanzi authored Sep 19, 2024
1 parent 373cdfd commit 6b4e94f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

updates:
- package-ecosystem: gitsubmodule
schedule:
interval: "monthly"
directory: /
allow:
- dependency-name: "Submodules/AMReX"
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
[submodule "Submodules/AMReX"]
path = Submodules/AMReX
url = https://github.com/amrex-codes/amrex.git
shallow = true
[submodule "Submodules/YAKL"]
path = Submodules/YAKL
url = https://github.com/mrnorman/YAKL
shallow = true
[submodule "Submodules/RRTMGP"]
path = Submodules/RRTMGP
url = https://github.com/E3SM-Project/rte-rrtmgp
shallow = true
[submodule "Submodules/WW3"]
path = Submodules/WW3
url = https://github.com/erf-model/WW3
shallow = true

0 comments on commit 6b4e94f

Please sign in to comment.