Skip to content

Commit 6b1ea8f

Browse files
committed
feat: add Vercel Lint workflow for automated linting on main branch push
- Introduced a new GitHub Actions workflow to lint the project using Vercel on pushes to the main branch. - Configured permissions and concurrency settings for the workflow. - Included a notification step to inform Vercel of the linting status.
1 parent 91772f6 commit 6b1ea8f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/vercel-lint.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Vercel Lint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: 'notify vercel'
22+
uses: 'vercel/repository-dispatch/actions/status@v1'
23+
with:
24+
name: Vercel - lex-plain: lint

0 commit comments

Comments
 (0)