From 1c8bccc0d4015190c343aa3e118511d561528376 Mon Sep 17 00:00:00 2001 From: Jonas Hellmann Date: Tue, 21 Apr 2026 10:10:03 +0200 Subject: [PATCH 1/2] Add Good Egg workflow for pull requests Include GoodEgg Github Action --- .github/workflows/good-egg.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/good-egg.yml diff --git a/.github/workflows/good-egg.yml b/.github/workflows/good-egg.yml new file mode 100644 index 0000000..55762cc --- /dev/null +++ b/.github/workflows/good-egg.yml @@ -0,0 +1,17 @@ +name: Good Egg + +on: + pull_request: + types: [opened, reopened, synchronize] + +permissions: + pull-requests: write + +jobs: + score: + runs-on: ubuntu-latest + steps: + - uses: 2ndSetAI/good-egg@v2 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + skip-known-contributors: 'false' From 1f41deadc7607fa622cd81f23ce5b7ab2d539d3f Mon Sep 17 00:00:00 2001 From: Jonas Hellmann Date: Tue, 21 Apr 2026 10:24:06 +0200 Subject: [PATCH 2/2] Upgrade GoodEgg Action --- .github/workflows/good-egg.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/good-egg.yml b/.github/workflows/good-egg.yml index 55762cc..5318e7c 100644 --- a/.github/workflows/good-egg.yml +++ b/.github/workflows/good-egg.yml @@ -11,7 +11,17 @@ jobs: score: runs-on: ubuntu-latest steps: - - uses: 2ndSetAI/good-egg@v2 + - id: egg + uses: 2ndSetAI/good-egg@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} - skip-known-contributors: 'false' + comment: 'true' + check-run: 'true' + fail-on-low: 'true' + scoring-model: v2 + - name: Print results + run: | + echo "Score: ${{ steps.egg.outputs.score }}" + echo "Trust level: ${{ steps.egg.outputs.trust-level }}" + echo "Model: ${{ steps.egg.outputs.scoring-model }}" + echo "User: ${{ steps.egg.outputs.user }}"