Skip to content

Merge pull request #748 from viperproject/meilers_old_trigger_inferen… #161

Merge pull request #748 from viperproject/meilers_old_trigger_inferen…

Merge pull request #748 from viperproject/meilers_old_trigger_inferen… #161

name: Update Silver Submodule
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
update_submodule:
strategy:
fail-fast: false
matrix:
include:
- repo: 'silicon'
- repo: 'carbon'
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v3
with:
repository: viperproject/${{ matrix.repo }}
token: ${{ secrets.PAT }}
submodules: true
# Update references
- name: Git Sumbodule Update
run: |
git submodule update --remote silver
- name: Commit update
run: |
git config --global user.name 'Silver Bot'
git config --global user.email '[email protected]'
git commit -am "Update silver submodule" && git push || echo "No changes to commit"