Skip to content

Conversation

@dannf
Copy link
Contributor

@dannf dannf commented Aug 4, 2025

No description provided.

@dannf
Copy link
Contributor Author

dannf commented Aug 4, 2025

Tested with:

dann-frazier@dann-frazier-laptop:~/git/extra-packages$ git diff --staged
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 5d8adea7..6a9ec631 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -4,7 +4,7 @@
 # See https://eng.inky.wtf/docs/technical/git/pre-commit for info on how to edit this file.
 repos:
   - repo: https://github.com/chainguard-dev/pre-commit-hooks
-    rev: b016305382e40f8345f1251180420364034fd316
+    rev: a5211759e50a244f4d0f52f3b10af58b635e946f
     hooks:
       - id: shellcheck-run-steps
         files: '^[^.][^/]*\.yaml$' # matches non-hidden .yaml files at the top level only
diff --git a/vgpu-util.yaml b/vgpu-util.yaml
index 36998008..141b8cce 100644
--- a/vgpu-util.yaml
+++ b/vgpu-util.yaml
@@ -25,6 +25,7 @@ pipeline:
       expected-commit: fe65aa7c08d1295134607be5cb46c63988da380a
 
   - runs: |
+      ==
       mkdir -p ${{targets.destdir}}/usr/bin
       cd vgpu/src || exit
       go build -o vgpu-util
dann-frazier@dann-frazier-laptop:~/git/extra-packages$ git commit
shellcheck run steps...................................................................Failed
- hook id: shellcheck-run-steps
- exit code: 1

2025/08/04 18:01:52 WARN git repository URL for build config not provided

In vgpu-util7y6xs_xu line 1:
==
^-- SC2275 (error): Command name starts with =. Bad line break?

For more information:
  https://www.shellcheck.net/wiki/SC2275 -- Command name starts with =. Bad l...

Checks that package yaml files have epoch bumps compared to main.......................Passed
- hook id: check-for-epoch-bump
- duration: 0.02s

Checking .pre-commit-config.yaml:
Warning: 'epoch' field not found in .pre-commit-config.yaml

Checking vgpu-util.yaml:
⚠️ Epoch HAS NOT been increased compared to main: 5 <= 5

Format yaml properly using yam.........................................................Passed
Format files properly using wolfictl lint..............................................Passed
misspell...............................................................................Passed
check yaml.............................................................................Passed
forbid submodules..................................................(no files to check)Skipped
check for added large files............................................................Passed
check for case conflicts...............................................................Passed
check for merge conflicts..............................................................Passed
check for broken symlinks..........................................(no files to check)Skipped
detect private key.....................................................................Passed

Signed-off-by: dann frazier <dann.frazier@chainguard.dev>
@dannf dannf force-pushed the shellcheck-docker-missing-filename branch from a521175 to 4e6d315 Compare August 4, 2025 18:06
@dannf dannf merged commit 393a8c7 into main Aug 4, 2025
6 checks passed
@dannf dannf deleted the shellcheck-docker-missing-filename branch August 4, 2025 18:11
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