Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: yml files are skipped by circleci hook #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

diofeher
Copy link

@diofeher diofeher commented Dec 23, 2024

While I was testing these hooks, it seems the changes on yml files were never recognized on the .circleci folder:

CircleCI config validation...........................(no files to check)Skipped

when .circleci/config.yml was changed.

I've made this small change and then I was able to see the files being recognized by pre-commit.

CircleCI config validation...............................................Failed
- hook id: circleci-config-validate
- exit code: 1

Error: config compilation contains errors: config compilation contains errors:
	- Unable to parse YAML
	- while scanning a simple key
	-  in 'string', line 5, column 1:
	-     asads:A1
	-     ^
	- could not find expected ':'
	-  in 'string', line 6, column 3:
	-       :

@diofeher diofeher changed the title fix: files are not being recognized on circleci hook fix: files are not being recognized by circleci hook Dec 23, 2024
@diofeher diofeher changed the title fix: files are not being recognized by circleci hook fix: yml files are skipped by circleci hook Dec 23, 2024
@diofeher
Copy link
Author

@syntaqx

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.

1 participant