Skip to content
Snippets Groups Projects

Fix linting

Merged Erick Hitter requested to merge fix/linting into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
#!/bin/bash
jq --null-input --arg yaml "$1" '.content=$yaml' \
| curl "https://git.ethitter.com/api/v4/ci/lint?include_merged_yaml=true" \
jq --null-input --arg yaml "$(<$1)" '.content=$yaml' \
| curl "https://git.ethitter.com/api/v4/projects/:id/ci/lint?include_merged_yaml=true" \
--silent \
--header 'Content-Type: application/json' \
--header "PRIVATE-TOKEN: $GITLAB_API_PAT" \
Loading