1 parent 6f94d6b commit dd25e4bCopy full SHA for dd25e4b
1 file changed
.github/workflows/format-code.yml
@@ -13,7 +13,7 @@ jobs:
13
- name: Set up Python
14
uses: actions/setup-python@v2
15
with:
16
- python-version: 3.10
+ python-version: "3.10"
17
- name: Install dependencies
18
run: |
19
python -m pip install --upgrade pip
@@ -22,10 +22,7 @@ jobs:
22
23
black --verbose .
24
- name: Commit Formated Code
25
- uses: EndBug/add-and-commit@v5
26
- env:
27
- # This is necessary in order to push a commit to the repo
28
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ uses: EndBug/add-and-commit@v7
29
30
message: "Format code with black"
31
# Ref https://git-scm.com/docs/git-add#_examples
0 commit comments