From 37ade4e31b7ddcd5011f3f5d610535590b613a29 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Fri, 20 Jun 2025 15:47:04 +0200 Subject: [PATCH 1/3] test to see if analysis.yml works with that Signed-off-by: tobiasKaminsky --- .github/workflows/analysis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 59b5910d088..15b42dc2fe5 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -55,7 +55,7 @@ jobs: with: persist-credentials: false repository: ${{ steps.get-vars.outputs.repo }} - ref: ${{ steps.get-vars.outputs.branch }} + ref: ${{ github.head_ref }} - name: Set up JDK 17 uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 with: From 0764d8503003a4226f9d9a06842ff026fab4d644 Mon Sep 17 00:00:00 2001 From: tobiasKaminsky Date: Wed, 25 Jun 2025 12:55:37 +0200 Subject: [PATCH 2/3] test git push Signed-off-by: tobiasKaminsky --- .github/workflows/analysis.yml | 4 ++++ scripts/analysis/lint-up.rb | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 15b42dc2fe5..28925d018c4 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -77,3 +77,7 @@ jobs: echo "kapt.incremental.apt=true" } > "$HOME/.gradle/gradle.properties" scripts/analysis/analysis-wrapper.sh "${{ steps.get-vars.outputs.branch }}" "${{ secrets.LOG_USERNAME }}" "${{ secrets.LOG_PASSWORD }}" "$GITHUB_RUN_NUMBER" "${{ steps.get-vars.outputs.pr }}" + - name: Push changes + uses: ad-m/github-push-action@master + with: + branch: ${{ github.head_ref }} diff --git a/scripts/analysis/lint-up.rb b/scripts/analysis/lint-up.rb index c52b60f1370..d3c4a66d3a2 100644 --- a/scripts/analysis/lint-up.rb +++ b/scripts/analysis/lint-up.rb @@ -184,8 +184,5 @@ # commit changes system('git commit -sm "Analysis: update lint results to reflect reduced error/warning count"') -# push to origin -system ('git push') - puts "SUCCESS: count was reduced" exit 0 # success From d296f208340adda39c0480571d2536d09108cf47 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 25 Jun 2025 11:03:46 +0000 Subject: [PATCH 3/3] Analysis: update lint results to reflect reduced error/warning count Signed-off-by: github-actions --- scripts/analysis/lint-results.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/analysis/lint-results.txt b/scripts/analysis/lint-results.txt index 23ae69a9136..4cb8c8d7072 100644 --- a/scripts/analysis/lint-results.txt +++ b/scripts/analysis/lint-results.txt @@ -1,2 +1,2 @@ DO NOT TOUCH; GENERATED BY DRONE - Lint Report: 10 errors and 100 warnings + Lint Report: 94 warnings