Skip to content

Conversation

@pre-commit-ci
Copy link
Contributor

@pre-commit-ci pre-commit-ci bot commented Jan 5, 2026

updates:

New errors from Zizmor v1.19.0:

zizmor...................................................................Failed
- hook id: zizmor
- exit code: 13

  warning[dependabot-cooldown]: insufficient cooldown in Dependabot updates
   --> .github/dependabot.yml:6:5
    |
  6 |   - package-ecosystem: "github-actions"
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing cooldown configuration
    |
    = note: audit confidence → High
    = note: this finding has an auto-fix
    = help: audit documentation → https://docs.zizmor.sh/audits/#dependabot-cooldown

  help[obfuscation]: obfuscated usage of GitHub Actions features
     --> .github/workflows/ci_tests_dev.yaml:125:9
      |
  124 |       - name: Build GMT on Windows
      |         -------------------------- Windows CMD shell limits analysis
  125 |         shell: cmd
      |         ^^^^^^^^^^ shell defined here
      |
      = note: audit confidence → High
      = tip: use 'shell: pwsh' or 'shell: bash' for improved analysis
      = help: audit documentation → https://docs.zizmor.sh/audits/#obfuscation

  36 findings (34 suppressed, 1 fixable): 0 informational, 1 low, 1 medium, 0 high

@weiji14 weiji14 added the run/test-gmt-dev Trigger the GMT Dev Tests workflow in PR label Jan 5, 2026
Copy link
Member

@weiji14 weiji14 left a comment

Choose a reason for hiding this comment

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

Set dependabot cooldown to 7 days, and translated CMD to bash to avoid zizmor audit about https://docs.zizmor.sh/audits/#obfuscation

Comment on lines +125 to +135
shell: bash
run: |
cd gmt/
mkdir build
cd build
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cmake -G Ninja .. ^
-DCMAKE_INSTALL_PREFIX=%GMT_INSTALL_DIR% ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_PREFIX_PATH=%MAMBA_ROOT_PREFIX%\envs\pygmt\Library ^
-DGMT_ENABLE_OPENMP=TRUE ^
cmd.exe /c "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cmake -G Ninja .. \
-DCMAKE_INSTALL_PREFIX="$GMT_INSTALL_DIR" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH="$MAMBA_ROOT_PREFIX/envs/pygmt/Library" \
-DGMT_ENABLE_OPENMP=TRUE \
Copy link
Member

Choose a reason for hiding this comment

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

@weiji14 weiji14 added skip-changelog Skip adding Pull Request to changelog and removed run/test-gmt-dev Trigger the GMT Dev Tests workflow in PR labels Jan 5, 2026
@weiji14 weiji14 added this to the 0.18.0 milestone Jan 5, 2026
@seisman seisman merged commit fa12fe4 into main Jan 5, 2026
10 of 14 checks passed
@seisman seisman deleted the pre-commit-ci-update-config branch January 5, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants