From 51ae1250f2a78d292bf4d3aaf4c910d01f79b21c Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Tue, 24 Sep 2024 17:29:27 +1000 Subject: [PATCH] Create goose-enhance.yml --- .github/workflows/goose-enhance.yml | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/goose-enhance.yml diff --git a/.github/workflows/goose-enhance.yml b/.github/workflows/goose-enhance.yml new file mode 100644 index 00000000..beaf1d5d --- /dev/null +++ b/.github/workflows/goose-enhance.yml @@ -0,0 +1,41 @@ +name: Goose + +on: + issues: + types: + - labeled + +jobs: + flutter-test: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Init Hermit + uses: cashapp/activate-hermit@v1 + with: + cache: true + + - name: Install Dependencies + run: just get + + - name: Run Goose + uses: michaelneale/goose-fix-it-action@v5 + with: + task_request: | + ${{ github.event.issue.title }} + + ${{ github.event.issue.body }} + + [Link to issue](${{ github.event.issue.html_url }}) + validation: "run just test" + create_pr: 'true' + env: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + + - name: Run Flutter Analyze + run: just analyze + + - name: Run Flutter Test + run: just test