Skip to content

fix: only run CI on lua code#8

Merged
cachebag merged 1 commit into
masterfrom
ci/paths
May 19, 2026
Merged

fix: only run CI on lua code#8
cachebag merged 1 commit into
masterfrom
ci/paths

Conversation

@cachebag
Copy link
Copy Markdown
Owner

Only run CI when files in the lua code itself is edited

@cachebag cachebag self-assigned this May 19, 2026
@cachebag cachebag added the CI Changes to CI/CD pipeline label May 19, 2026
@cachebag cachebag requested a review from Copilot May 19, 2026 14:09
Copy link
Copy Markdown

Copilot AI left a comment

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 narrows the CI workflow trigger so it only runs for pull requests that touch the project’s Lua code and related runtime/test directories, reducing unnecessary CI runs for unrelated changes.

Changes:

  • Added pull_request.paths filters to only trigger CI when files under lua/**, plugin/**, or tests/** change.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

.github/workflows/ci.yml:19

  • Same as for push: the pull_request.paths filter currently excludes root tool config files like stylua.toml and .luacheckrc. Changes to those files won’t trigger CI on PRs, so formatting/lint behavior could change without checks running. Add the relevant config files to this path list too.
    paths:
      - 'lua/**'
      - 'plugin/**'
      - 'tests/**'
      - '.github/workflows/**'
      - 'Makefile'

Comment thread .github/workflows/ci.yml
@cachebag cachebag merged commit 3fd0c0b into master May 19, 2026
7 checks passed
@cachebag cachebag deleted the ci/paths branch May 19, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Changes to CI/CD pipeline

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants