Skip to content

Update actions and assets repository #179

Update actions and assets repository

Update actions and assets repository #179

name: Update actions and assets repository
on:
schedule:
- cron: "0 */24 * * *"
push:
paths:
- '.gitmodules'
workflow_dispatch:
jobs:
Aktualizace:
name: Update repository actions and other tools
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
# token: ${{ secrets.pat }}
# ref: ${{ github.head_ref }}
- name: Update submodules
run: |
# git -C doc/assets config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
# git submodule sync doc/assets
git submodule update --init --remote templates/PcbDraw-Lib
- uses: stefanzweifel/[email protected]
with:
commit_message: Update workflow files
add_options: '-A'
commit_options: '-a'