Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/validateWorkflowSchemas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ TEMP_SCHEMA_DIR="$(mktemp -d)"
readonly TEMP_SCHEMA_DIR
trap 'rm -rf "$TEMP_SCHEMA_DIR"' EXIT

# Download the up-to-date json schemas for github actions and workflows
# Download the pinned json schemas for github actions and workflows
for SCHEMA in github-action.json github-workflow.json; do
info "Downloading $SCHEMA schema..."
if curl "https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/$SCHEMA" --output "$TEMP_SCHEMA_DIR/$SCHEMA" --silent; then
if curl "https://raw.githubusercontent.com/SchemaStore/schemastore/5c0bfe97efb759922f71c378584246cc07e7c3ed/src/schemas/json/$SCHEMA" --output "$TEMP_SCHEMA_DIR/$SCHEMA" --silent; then
success "Successfully downloaded $SCHEMA schema!"
else
error "Failed downloading $SCHEMA schema" >&2
Expand Down
Loading