File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ TEMP_SCHEMA_DIR="$(mktemp -d)"
1717readonly TEMP_SCHEMA_DIR
1818trap ' rm -rf "$TEMP_SCHEMA_DIR"' EXIT
1919
20- # Download the up-to-date json schemas for github actions and workflows
20+ # Download the pinned json schemas for github actions and workflows
2121for SCHEMA in github-action.json github-workflow.json; do
2222 info " Downloading $SCHEMA schema..."
23- if curl " https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master /src/schemas/json/$SCHEMA " --output " $TEMP_SCHEMA_DIR /$SCHEMA " --silent; then
23+ if curl " https://raw.githubusercontent.com/SchemaStore/schemastore/5c0bfe97efb759922f71c378584246cc07e7c3ed /src/schemas/json/$SCHEMA " --output " $TEMP_SCHEMA_DIR /$SCHEMA " --silent; then
2424 success " Successfully downloaded $SCHEMA schema!"
2525 else
2626 error " Failed downloading $SCHEMA schema" >&2
You can’t perform that action at this time.
0 commit comments