Skip to content

Commit b845402

Browse files
committed
API-281: Fixed cron pattern
1 parent 02b62a8 commit b845402

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/store-api-spec-lint-results.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
fi
4949
echo "Service: $service"
5050
51-
echo "SELECT spec_hash FROM \`ent-apidata-dev.api.rest_api_lint\` WHERE service_name = '$service' ORDER BY _PARTITIONTIME DESC LIMIT 1"
51+
echo "SELECT spec_hash FROM \`ent-apidata-dev.api.rest_api_lint\` WHERE service_name = '$service' ORDER BY created DESC LIMIT 1"
5252
5353
# Query BigQuery for the latest stored hash for this service.
54-
query="SELECT spec_hash FROM \`ent-apidata-dev.api.rest_api_lint\` WHERE service_name = '$service' ORDER BY _PARTITIONTIME DESC LIMIT 1"
54+
query="SELECT spec_hash FROM \`ent-apidata-dev.api.rest_api_lint\` WHERE service_name = '$service' ORDER BY created DESC LIMIT 1"
5555
response=$(curl -s -X POST "https://bigquery.googleapis.com/bigquery/v2/projects/ent-apidata-dev/queries" \
5656
--header "Authorization: Bearer ${{ steps.login-gcp.outputs.access_token }}" \
5757
--header "Content-Type: application/json" \

0 commit comments

Comments
 (0)