chore(ci): skip build workflow for non-code changes#71
Merged
Conversation
980d219 to
803e905
Compare
Skip linting, building, and testing when only non-code files change: - Documentation (*.md, docs/) - Assets (assets/, schemas/) - GitHub templates (.github/ISSUE_TEMPLATE/) - IDE/editor config (.idea/, .claude/) - Git config (.gitignore) - Commit lint config (.commitlintrc.yml, package.json, package-lock.json) - Install scripts (install.sh, install.ps1) - LICENSE Add new script-lint.yml workflow that runs ShellCheck and PSScriptAnalyzer when install scripts change. Commit and PR title linting still runs via commit-lint.yml.
803e905 to
37b02e8
Compare
Contributor
Author
|
/skip-changelog |
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.
Summary
Skip the build workflow (Go linting, building, testing) when only non-code files change.
Files that skip build:
*.md,docs/)assets/,schemas/).github/ISSUE_TEMPLATE/).idea/,.claude/).gitignore).commitlintrc.yml,package.json,package-lock.json)LICENSEFiles that still trigger build:
*.go)go.mod,go.sum).golangci.yml)install.sh,install.ps1).github/workflows/*.yml)Note: PR title and commit message linting still runs via
commit-lint.ymlfor all PRs.Test plan