Modify the bundle-size.yml
action to only comment if the PR has changed the size of the package by 10KB+
#128
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bunaider Auto-Fix | |
on: | |
issues: | |
types: [labeled] | |
jobs: | |
auto-fix: | |
if: github.event.label.name == 'aider' || github.event.label.name == 'bunaider' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
- name: Install bunaider | |
run: bun install -g bunaider | |
- run: bunaider init | |
- name: Run bunaider fix | |
env: | |
GITHUB_TOKEN: ${{ secrets.TSCIRCUIT_BOT_GITHUB_TOKEN }} | |
ANTHROPIC_API_KEY: ${{ secrets.TSCIRCUIT_BOT_ANTHROPIC_API_KEY }} | |
AIDER_SONNET: 1 | |
run: bunaider fix ${{ github.event.issue.number }} |