Skip to content

Commit fab4aeb

Browse files
committed
Revert automated workflow lint fixing
1 parent ee109e5 commit fab4aeb

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/workflows/lint.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
branches:
99
- main
1010

11-
permissions:
12-
contents: write
13-
1411
jobs:
1512
lint:
1613
runs-on: ubuntu-latest
@@ -32,19 +29,3 @@ jobs:
3229
with:
3330
globs: ${{ steps.changed-files.outputs.all_changed_files }}
3431
separator: ","
35-
fix: true
36-
37-
# Check if anything was fixed, then Commit & Push
38-
- name: Commit and push fixes
39-
if: always() && steps.changed-files.outputs.any_changed == 'true'
40-
run: |
41-
# Configure the bot's identity
42-
git config --global user.name "github-actions[bot]"
43-
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
44-
45-
# Check if the linter modified any files
46-
if [[ -n $(git status -s) ]]; then
47-
git add .
48-
git commit -m "style: auto-fix markdown formatting"
49-
git push origin HEAD:${{ github.head_ref }}
50-
fi

0 commit comments

Comments
 (0)