Skip to content

Commit a5e4c6e

Browse files
authored
Create format_rst.yml
1 parent 0c75e9b commit a5e4c6e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/format_rst.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: RST Autoformatter
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
formatting:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Check out code
10+
uses: actions/checkout@v3
11+
12+
- name: Set up Python
13+
uses: actions/setup-python@v4
14+
with:
15+
python-version: '3.10'
16+
17+
- name: Run RST Autoformatter
18+
uses: livxy/rst-autoformatter-action@main
19+
with:
20+
files: '**/*.rst'
21+
commit: 'true'
22+
github-username: '📚'
23+
commit-message: 'Apply rstfmt formatting'

0 commit comments

Comments
 (0)