We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 180e4d4 commit 0fd3065Copy full SHA for 0fd3065
.github/workflows/submodule_auto_update.yml
@@ -0,0 +1,18 @@
1
+name: Update module
2
+on:
3
+ workflow_dispatch:
4
+ repository_dispatch:
5
+ types: submodule-update
6
+jobs:
7
+ update:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v2
11
+ - name: Update module
12
+ run: |
13
+ git submodule update --init --recursive --remote
14
+ git config --global user.name "Android Boot Manager (GH Actions)"
15
+ git config --global user.email "[email protected]"
16
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
17
+ git commit -am "submodules_auto_update: Update submodule - ${{ github.event.client_payload.sha }}@${{ github.event.client_payload.module }}" || true
18
+ git push
0 commit comments