diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 59b5910d088..28925d018c4 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: @@ -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-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 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