diff --git a/README.md b/README.md index 53fd584..c042d99 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Expensify has multiple repositories that use the same GitHub Actions workflows. ### `npmPublish.yml` -Used to publish a package to [npmjs](https://www.npmjs.com/), should be triggered when code is merged into the `main` branch. +Used to publish a package to [npmjs](https://www.npmjs.com/), should be triggered when code is merged into the `main` branch. **Note**: Please follow [these instructions](https://stackoverflowteams.com/c/expensify/questions/17043/17044#17044) to grant our bots the correct access to publish. ```yml jobs: diff --git a/scripts/validateWorkflowSchemas.sh b/scripts/validateWorkflowSchemas.sh index eaa98d5..0b12ac2 100755 --- a/scripts/validateWorkflowSchemas.sh +++ b/scripts/validateWorkflowSchemas.sh @@ -20,7 +20,7 @@ trap 'rm -rf "$TEMP_SCHEMA_DIR"' EXIT # Download the up-to-date json schemas for github actions and workflows for SCHEMA in github-action.json github-workflow.json; do info "Downloading $SCHEMA schema..." - if curl "https://json.schemastore.org/$SCHEMA" --output "$TEMP_SCHEMA_DIR/$SCHEMA" --silent; then + if curl "https://raw.githubusercontent.com/SchemaStore/schemastore/refs/heads/master/src/schemas/json/$SCHEMA" --output "$TEMP_SCHEMA_DIR/$SCHEMA" --silent; then success "Successfully downloaded $SCHEMA schema!" else error "Failed downloading $SCHEMA schema" >&2