Files
go-template-container-webse…/.gitea/workflows/update-child-repos.yaml
Bryan Joshua Pedini c3bac048fc
All checks were successful
Update Child Repos / update (push) Successful in 7s
handle multiple commits
2026-02-17 22:04:52 +01:00

33 lines
788 B
YAML

---
name: Update Child Repos
concurrency:
group: update-child-repos
cancel-in-progress: false
on:
push:
branches:
- main
defaults:
run:
shell: bash
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config --global user.name "${GIT_NAME}"
git config --global user.email "${GIT_EMAIL}"
git config --global credential.helper store
echo "https://${GIT_EMAIL//@/%40}:${GIT_TOKEN}@git.bjphoster.com" > ~/.git-credentials
./update_child_repos.sh "${{ github.event.before }}"
env:
GIT_NAME: ${{ secrets.GIT_NAME }}
GIT_EMAIL: ${{ secrets.GIT_EMAIL }}
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}