Skip to content

Commit d79c42e

Browse files
committed
💄 make moban-update.yaml friendly to yamllint
1 parent 094859d commit d79c42e

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

statics/moban-update.yml

+22-20
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,25 @@ jobs:
55
runs-on: ubuntu-latest
66
name: synchronize templates via moban
77
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-
with:
14-
python-version: '3.7'
15-
- name: check changes
16-
run: |
17-
pip install moban gitfs2 pypifs
18-
moban
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-
with:
27-
args: This is an auto-commit, updating project meta data, such as changelog.rst, contributors.rst
8+
- uses: actions/checkout@v2
9+
with:
10+
ref: ${{ github.head_ref }}
11+
- name: Set up Python
12+
uses: actions/setup-python@v1
13+
with:
14+
python-version: '3.7'
15+
- name: check changes
16+
run: |
17+
pip install moban gitfs2 pypifs
18+
moban
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+
with:
27+
args: >-
28+
This is an auto-commit, updating project meta data,
29+
such as changelog.rst, contributors.rst

0 commit comments

Comments
 (0)