automatically fix linting errors
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -51,12 +51,24 @@ jobs:
|
||||
|
||||
- name: Send Slack notifications
|
||||
uses: act10ns/slack@v1
|
||||
if: failure()
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
steps: ${{ toJson(steps) }}
|
||||
channel: '#tiptap-notifications'
|
||||
|
||||
- name: Fix code style linting errors
|
||||
id: lint-fix
|
||||
run: yarn lint:fix
|
||||
if: failure()
|
||||
|
||||
- name: Commit fixed linting errors
|
||||
id: commit
|
||||
uses: stefanzweifel/git-auto-commit-action@v4
|
||||
if: failure()
|
||||
with:
|
||||
commit_message: "ci: fix code style linting errors"
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
@@ -104,11 +116,11 @@ jobs:
|
||||
|
||||
- name: Send Slack notifications
|
||||
uses: act10ns/slack@v1
|
||||
if: failure()
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
steps: ${{ toJson(steps) }}
|
||||
channel: '#tiptap-notifications'
|
||||
if: failure()
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -151,8 +163,8 @@ jobs:
|
||||
|
||||
- name: Send Slack notifications
|
||||
uses: act10ns/slack@v1
|
||||
if: failure()
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
steps: ${{ toJson(steps) }}
|
||||
channel: '#tiptap-notifications'
|
||||
if: failure()
|
||||
|
||||
Reference in New Issue
Block a user