Skip to content

Commit eebbacb

Browse files
authored
fix(workflow): pull format (#70)
1 parent 8f339ba commit eebbacb

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/black_PR.yml renamed to .github/workflows/pull_format.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ jobs:
1212
continue-on-error: true
1313
steps:
1414
- uses: actions/checkout@v3
15+
with:
16+
ref: ${{ github.head_ref }}
17+
1518
- name: Set up Python ${{ matrix.python-version }}
1619
uses: actions/setup-python@v4
1720
with:
1821
python-version: ${{ matrix.python-version }}
19-
- name: Install black
22+
23+
- name: Install Black
2024
run: pip install black
21-
- name: run black
25+
26+
- name: Run Black
2227
# run: black $(git ls-files '*.py')
2328
run: black .
24-
- name: AutoCommit
29+
30+
- name: Commit Back
2531
uses: stefanzweifel/git-auto-commit-action@v4
2632
with:
2733
commit_message: Apply Code Formatter Change

0 commit comments

Comments
 (0)