Skip to content

Sync

Sync #987

Workflow file for this run

name: Sync
on:
push:
branches: [master]
pull_request:
branches: [master]
schedule:
- cron: "0 6 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Configure Python
run: python -m pip install requests
- name: Checkout
uses: actions/checkout@v4
- name: Configure git
run: |
git config --global push.default simple
git config --global user.name "actions"
git config --global user.email "[email protected]"
git config --global core.ignorecase true
git remote set-url --push origin [email protected]:openmicroanalysis/calczaf.git
- name: Synchronize
run: python .github/sync.py --verbose --no-pull --no-push --workdir .
- name: Push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}