debian-python-pyexcel-xls/.github/workflows/moban-update.yml

29 lines
793 B
YAML

on: [push]
jobs:
run_moban:
runs-on: ubuntu-latest
name: synchronize templates via moban
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.PAT }}
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: '3.7'
- name: check changes
run: |
pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
moban
git status
git diff --exit-code
- name: Auto-commit
if: failure()
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: >-
This is an auto-commit, updating project meta data,
such as changelog.rst, contributors.rst