Skip to content
Snippets Groups Projects
Commit 1abaf51d authored by Erick Hitter's avatar Erick Hitter
Browse files

Attempting to fix the linting

parent 857c8d96
No related branches found
No related tags found
1 merge request!34Fix linting
#!/bin/bash #!/bin/bash
jq --null-input --arg yaml "$1" '.content=$yaml' \ jq --null-input --arg yaml "$(<$1)" '.content=$yaml' \
| curl "https://git.ethitter.com/api/v4/ci/lint?include_merged_yaml=true" \ | curl "https://git.ethitter.com/api/v4/projects/:id/ci/lint?include_merged_yaml=true" \
--silent \ --silent \
--header 'Content-Type: application/json' \ --header 'Content-Type: application/json' \
--header "PRIVATE-TOKEN: $GITLAB_API_PAT" \ --header "PRIVATE-TOKEN: $GITLAB_API_PAT" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment