We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7101c commit 465544fCopy full SHA for 465544f
.github/workflow/moban-update.yml
@@ -0,0 +1,29 @@
1
+on: [push]
2
+
3
+jobs:
4
+ run_moban:
5
+ runs-on: ubuntu-latest
6
+ name: synchronize templates via moban
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ with:
10
+ ref: ${{ github.head_ref }}
11
+ - name: Set up Python
12
+ uses: actions/setup-python@v1
13
14
+ python-version: '3.7'
15
+ - name: check changes
16
+ run: |
17
+ pip install moban gitfs2 pypifs moban-jinja2-github moban-ansible
18
+ make upstreaming
19
+ git status
20
+ git diff --exit-code
21
+ - name: Auto-commit
22
+ if: failure()
23
+ uses: docker://cdssnc/auto-commit-github-action
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
27
+ args: >-
28
+ This is an auto-commit, updating project meta data,
29
+ such as changelog.rst, contributors.rst
0 commit comments