Skip to content

chore: move CI lint to manual workflow_dispatch - #600

Merged
hotlong merged 2 commits into
mainfrom
copilot/change-ci-lint-to-manual
Feb 18, 2026
Merged

chore: move CI lint to manual workflow_dispatch#600
hotlong merged 2 commits into
mainfrom
copilot/change-ci-lint-to-manual

Conversation

Copilot AI commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Extract lint from the automatic CI pipeline into a standalone manually-triggered workflow.

  • .github/workflows/ci.yml: Removed lint job. CI still runs test, build, e2e, and docs on push/PR.
  • .github/workflows/lint.yml: New workflow with workflow_dispatch trigger only. Same lint steps, explicit permissions: contents: read.
Original prompt

ci lint 改为手动执行


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel

vercel Bot commented Feb 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectui Error Error Feb 18, 2026 1:20pm
objectui-demo Error Error Feb 18, 2026 1:20pm
objectui-storybook Error Error Feb 18, 2026 1:20pm

Request Review

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
Copilot AI requested a review from hotlong February 18, 2026 13:18
@hotlong
hotlong marked this pull request as ready for review February 18, 2026 13:28
Copilot AI review requested due to automatic review settings February 18, 2026 13:28
@hotlong
hotlong merged commit 743424e into main Feb 18, 2026
1 of 4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 lint job from .github/workflows/ci.yml.
  • Added .github/workflows/lint.yml that runs pnpm lint via workflow_dispatch only (with contents: read permissions 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.

Comment thread .github/workflows/ci.yml
@@ -40,37 +40,6 @@ jobs:
fail_ci_if_error: false
token: ${{ secrets.CODECOV_TOKEN }}

Copilot AI Feb 18, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.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

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants