Repository Template #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Template | |
on: | |
schedule: | |
- cron: 0 3 * * 0 | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
jobs: | |
template: | |
name: Template | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Sync Repository | |
uses: liblaf/template@main | |
- name: Git Commit | |
run: |- | |
git config user.name "github-actions[bot]" | |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
git add --all | |
if git commit --message="ci: sync with template repository"; then | |
git push | |
fi |