We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 601a1bc commit fe2ed04Copy full SHA for fe2ed04
1 file changed
.github/workflows/update-submodules.yml
@@ -0,0 +1,28 @@
1
+name: Update Submodules
2
+
3
+on:
4
+ schedule:
5
+ - cron: "0 0 * * *"
6
+ workflow_dispatch:
7
8
+jobs:
9
+ update:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v4
13
+ with:
14
+ submodules: true
15
+ fetch-depth: 0
16
+ token: ${{ secrets.GITHUB_TOKEN }}
17
18
+ - name: Update Submodules
19
+ run: |
20
+ git submodule update --remote --recursive
21
22
+ - name: Commit and Push
23
24
+ git config --global user.name "github-actions[bot]"
25
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
26
+ git add .
27
+ git diff --quiet && git diff --staged --quiet || git commit -m "chore: update submodules to latest"
28
+ git push
0 commit comments