Skip to content

Commit 0a5ebb6

Browse files
authored
Merge pull request #3017 from Hack23/dependabot/npm_and_yarn/development-dependencies-33beca4d61
chore(deps-dev): bump js-yaml from 5.0.0 to 5.1.0, fix agentic workflow tests, and add cost-focus guardrails
2 parents 1786e03 + 8aa1c3f commit 0a5ebb6

33 files changed

Lines changed: 233 additions & 154 deletions

.github/workflows/news-committee-reports.lock.yml

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/news-committee-reports.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ permissions:
4545

4646
timeout-minutes: 60
4747

48+
# Cost-focus guardrails. `max-turns` caps agent tool-calling turns (runaway-loop circuit
49+
# breaker) and is tunable repo-wide via the NEWS_MAX_TURNS variable. `max-ai-credits` is a
50+
# per-run AI Credits ceiling — expressions are unsupported here, so a literal is required.
51+
max-turns: ${{ vars.NEWS_MAX_TURNS || 300 }}
52+
max-ai-credits: 3000
53+
4854
concurrency:
4955
group: gh-aw-news-committee-reports-${{ inputs.article_date || 'today' }}
5056
cancel-in-progress: false

.github/workflows/news-election-cycle.lock.yml

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/news-election-cycle.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ permissions:
5555

5656
timeout-minutes: 60
5757

58+
# Cost-focus guardrails. `max-turns` caps agent tool-calling turns (runaway-loop circuit
59+
# breaker) and is tunable repo-wide via the NEWS_MAX_TURNS variable. `max-ai-credits` is a
60+
# per-run AI Credits ceiling — expressions are unsupported here, so a literal is required.
61+
max-turns: ${{ vars.NEWS_MAX_TURNS || 300 }}
62+
max-ai-credits: 3000
63+
5864
concurrency:
5965
group: gh-aw-news-election-cycle-${{ inputs.article_date || 'today' }}-${{ inputs.cycle_anchor || 'both' }}
6066
cancel-in-progress: false

.github/workflows/news-evening-analysis.lock.yml

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/news-evening-analysis.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ permissions:
5353

5454
timeout-minutes: 60
5555

56+
# Cost-focus guardrails. `max-turns` caps agent tool-calling turns (runaway-loop circuit
57+
# breaker) and is tunable repo-wide via the NEWS_MAX_TURNS variable. `max-ai-credits` is a
58+
# per-run AI Credits ceiling — expressions are unsupported here, so a literal is required.
59+
max-turns: ${{ vars.NEWS_MAX_TURNS || 300 }}
60+
max-ai-credits: 3000
61+
5662
concurrency:
5763
group: gh-aw-news-evening-analysis-${{ inputs.article_date || 'today' }}
5864
cancel-in-progress: false

.github/workflows/news-interpellations.lock.yml

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/news-interpellations.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ permissions:
4545

4646
timeout-minutes: 60
4747

48+
# Cost-focus guardrails. `max-turns` caps agent tool-calling turns (runaway-loop circuit
49+
# breaker) and is tunable repo-wide via the NEWS_MAX_TURNS variable. `max-ai-credits` is a
50+
# per-run AI Credits ceiling — expressions are unsupported here, so a literal is required.
51+
max-turns: ${{ vars.NEWS_MAX_TURNS || 300 }}
52+
max-ai-credits: 3000
53+
4854
concurrency:
4955
group: gh-aw-news-interpellations-${{ inputs.article_date || 'today' }}
5056
cancel-in-progress: false

.github/workflows/news-month-ahead.lock.yml

Lines changed: 8 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/news-month-ahead.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ permissions:
4848

4949
timeout-minutes: 60
5050

51+
# Cost-focus guardrails. `max-turns` caps agent tool-calling turns (runaway-loop circuit
52+
# breaker) and is tunable repo-wide via the NEWS_MAX_TURNS variable. `max-ai-credits` is a
53+
# per-run AI Credits ceiling — expressions are unsupported here, so a literal is required.
54+
max-turns: ${{ vars.NEWS_MAX_TURNS || 300 }}
55+
max-ai-credits: 3000
56+
5157
concurrency:
5258
group: gh-aw-news-month-ahead-${{ inputs.article_date || 'today' }}
5359
cancel-in-progress: false

0 commit comments

Comments
 (0)