From b19f3daae683b1dd449d6f517d2b331a6062d10f Mon Sep 17 00:00:00 2001 From: Lifailon <116945542+Lifailon@users.noreply.github.com> Date: Tue, 27 Oct 2026 01:17:40 +0300 Subject: [PATCH] add checkout to codecov and build params to summary for code review workflow --- .github/workflows/ai-code-review.yml | 9 +++++++++ .github/workflows/go-coverage-merge.yml | 5 ++++- .github/workflows/go-lint-check.yml | 2 +- .github/workflows/go-release.yml | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml index 20f2289..b8d36ea 100644 --- a/.github/workflows/ai-code-review.yml +++ b/.github/workflows/ai-code-review.yml @@ -33,6 +33,15 @@ jobs: with: ref: ${{ github.event.inputs.Branch }} + - name: Build parameters to github summary + shell: bash + run: | + echo "## Build parameters" >> $GITHUB_STEP_SUMMARY + echo "- **Prompt**: ${{ github.event.inputs.Prompt }}" >> $GITHUB_STEP_SUMMARY + echo "- **PR**: ${{ github.event.inputs.PR == 'true' && '✅ true' || '❌ false' }}" >> $GITHUB_STEP_SUMMARY + echo "- **Branch**: ${{ github.event.inputs.Branch }}" >> $GITHUB_STEP_SUMMARY + echo "- **Title**: ${{ github.event.inputs.Title }}" >> $GITHUB_STEP_SUMMARY + - name: Install opencode run: curl -fsSL https://opencode.ai/v2/install | bash diff --git a/.github/workflows/go-coverage-merge.yml b/.github/workflows/go-coverage-merge.yml index 132fe09..cb172f9 100644 --- a/.github/workflows/go-coverage-merge.yml +++ b/.github/workflows/go-coverage-merge.yml @@ -544,6 +544,9 @@ jobs: if: ${{ github.event.inputs.Codecov == 'true' }} steps: + - name: Checkout main repository + uses: actions/checkout@v7 + - name: Download merge coverage report uses: actions/download-artifact@v8 with: @@ -555,5 +558,5 @@ jobs: with: token: ${{ secrets.CODECOV_TOKEN }} files: merge-coverage.out - fail_ci_if_error: false + flags: merge verbose: true \ No newline at end of file diff --git a/.github/workflows/go-lint-check.yml b/.github/workflows/go-lint-check.yml index ce419c6..2ac3700 100644 --- a/.github/workflows/go-lint-check.yml +++ b/.github/workflows/go-lint-check.yml @@ -60,7 +60,7 @@ jobs: - name: Install Go uses: actions/setup-go@v7 with: - go-version: 1.25 + go-version: 1.26 - name: Install dependencies run: | diff --git a/.github/workflows/go-release.yml b/.github/workflows/go-release.yml index 3b8211b..0f22772 100644 --- a/.github/workflows/go-release.yml +++ b/.github/workflows/go-release.yml @@ -34,7 +34,7 @@ jobs: - name: Install Go uses: actions/setup-go@v7 with: - go-version: 1.26.2 + go-version: 1.26 - name: Get app version for tag if: ${{ github.event.inputs.Tag == 'true' }}