Skip to content

Commit 07b5b57

Browse files
authored
Merge pull request #104 from Expensify/rodrigo-pin-schemastore-schema
Pin SchemaStore workflow schemas
2 parents bb00632 + 5cf0f87 commit 07b5b57

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎scripts/validateWorkflowSchemas.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ TEMP_SCHEMA_DIR="$(mktemp -d)"
1717
readonly TEMP_SCHEMA_DIR
1818
trap '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
2121
for 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

0 commit comments

Comments
 (0)