Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

Update Pricing Test Workflow

patcher93c8e32014ded
diff --git a/.github/workflows/pricing-test.yml b/.github/workflows/pricing-test.yml
index c972a7ef..0ac52dc5 100644
--- a/.github/workflows/pricing-test.yml
+++ b/.github/workflows/pricing-test.yml
@@ -1,15 +1,22 @@
name: Validate Pricing File
on:
- push:
- pull_request:
+ push:
+ branches: [ "main" ]
+ pull_request_target:
+ branches: [ "main" ]
+ workflow_dispatch:
+ schedule:
+ - cron: '0 0 1-31/15 * *'
jobs:
validate-pricing:
runs-on: ubuntu-latest
steps:
- - name: Checkout Code
- uses: actions/checkout@v3
+ - name: Checkout base code
+ uses: actions/checkout@v2
+ with:
+ ref: ${{ github.event.pull_request.head.sha }}
- name: Validate JSON structure
id: validate