chore: move CI lint to manual workflow_dispatch - #600
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Change CI linting to manual execution
chore: move CI lint to manual workflow_dispatch
Feb 18, 2026
hotlong
marked this pull request as ready for review
February 18, 2026 13:28
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extracts the lint job from the main CI workflow and moves it into a separate, manually-triggered GitHub Actions workflow, so pushes/PRs no longer run lint automatically.
Changes:
- Removed the
lintjob from.github/workflows/ci.yml. - Added
.github/workflows/lint.ymlthat runspnpm lintviaworkflow_dispatchonly (withcontents: readpermissions and concurrency control).
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/ci.yml |
Drops the lint job so CI focuses on tests/build/e2e/docs. |
.github/workflows/lint.yml |
New manual workflow to run the lint pipeline on demand. |
| @@ -40,37 +40,6 @@ jobs: | |||
| fail_ci_if_error: false | |||
| token: ${{ secrets.CODECOV_TOKEN }} | |||
|
|
|||
There was a problem hiding this comment.
.github/WORKFLOWS.md documents CI as including a Lint job, but this PR removes the lint job from ci.yml and moves lint to a manual workflow. Please update the workflow documentation to reflect the new CI job list and mention the new manually-triggered lint.yml workflow so repo docs stay accurate.
Suggested change
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: '20.x' | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Run lint | |
| run: pnpm lint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extract lint from the automatic CI pipeline into a standalone manually-triggered workflow.
.github/workflows/ci.yml: Removedlintjob. CI still runs test, build, e2e, and docs on push/PR..github/workflows/lint.yml: New workflow withworkflow_dispatchtrigger only. Same lint steps, explicitpermissions: contents: read.Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.