Skip to content

Commit 7e1c8a8

Browse files
committed
chore(ci): Trigger autocorrect workflow on main branch push
Enable workflow to run on push events to main branch, ensuring code corrections and validations occur automatically after each merge. This helps maintain code quality and consistency without manual triggers.
1 parent 1344379 commit 7e1c8a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/autocorrect.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: AutoCorrect CI
22

33
on:
4+
push:
5+
branches:
6+
- main
47
pull_request:
58
workflow_dispatch:
69

@@ -20,4 +23,4 @@ jobs:
2023
env:
2124
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2225
with:
23-
reviewdog: true
26+
reviewdog: true

0 commit comments

Comments
 (0)