Delete .github/workflows/update-submodules.yml
delete as not used
This commit is contained in:
27
.github/workflows/update-submodules.yml
vendored
27
.github/workflows/update-submodules.yml
vendored
@@ -1,27 +0,0 @@
|
|||||||
name: Update submodules
|
|
||||||
|
|
||||||
on: workflow_dispatch
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
update-submodules:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.PUSH_TOKEN }}
|
|
||||||
|
|
||||||
- name: Update submodules recursively
|
|
||||||
run: |
|
|
||||||
git submodule update --init --recursive
|
|
||||||
git submodule update --recursive --remote
|
|
||||||
|
|
||||||
- name: Commit & push changes
|
|
||||||
run: |
|
|
||||||
git config --global user.name 'github-actions[bot]'
|
|
||||||
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
|
|
||||||
git add --all
|
|
||||||
git commit -m 'Update submodules' || echo 'No changes to commit'
|
|
||||||
git push
|
|
||||||
Reference in New Issue
Block a user