Skip to content

Commit 4572c3f

Browse files
committed
chore: enable manual trigger
1 parent 91c98c9 commit 4572c3f

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/format.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Auto Format
22
on:
33
push:
44
branches: ['main']
5+
workflow_dispatch:
56

67
concurrency:
78
group: ${{ github.workflow }}-${{ github.ref }}
@@ -35,7 +36,9 @@ jobs:
3536
git config --local user.name "GitHub Action"
3637
3738
- name: 🎨 Run Prettier
38-
run: npx prettier --write "**/*.{js,jsx,ts,tsx,md,css}" --ignore-path .prettierignore
39+
run:
40+
npx prettier --write "**/*.{js,jsx,ts,tsx,md,css}" --ignore-path
41+
.prettierignore
3942

4043
- name: 🔍 Run ESLint --fix
4144
run: npx eslint --fix "**/*.{js,jsx,ts,tsx}"
@@ -49,4 +52,4 @@ jobs:
4952
echo "Changes committed and pushed."
5053
else
5154
echo "No changes to commit."
52-
fi
55+
fi

.github/workflows/validate.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches: ['main']
55
pull_request:
6+
workflow_dispatch:
67

78
concurrency:
89
group: ${{ github.workflow }}-${{ github.ref }}

0 commit comments

Comments
 (0)