@@ -117,45 +117,4 @@ jobs:
117117 with :
118118 analysis-name : ${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
119119 artifacts-upload-name : ${{ needs.prepare-code-to-analyze.outputs.artifacts-upload-name }}
120- sources-upload-name : ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
121-
122-
123-
124- commit-analysis-results :
125- if : github.event_name == 'push'
126- needs : [prepare-code-to-analyze, analyze-code-graph]
127- runs-on : ubuntu-latest
128-
129- env :
130- CI_COMMIT_MESSAGE : Automated code structure analysis analysis-results (CI)
131- CI_COMMIT_AUTHOR : ${{ github.event.repository.name }} Continuous Integration
132-
133- steps :
134- - name : Checkout GIT Repository
135- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
136- with :
137- token : ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}
138-
139- - name : (Code Analysis Setup) Download source code and artifacts for analysis
140- uses : actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
141- with :
142- name : ${{ needs.analyze-code-graph.outputs.uploaded-analysis-results }}
143- path : ./results/${{ needs.prepare-code-to-analyze.outputs.analysis-name }}
144-
145- - name : Commit "results" directory containing the reports
146- # Only run when a pull request gets merged or a commit is pushed to the main branch
147- # git add parameters need to match paths-ignore parameters above
148- # Git pull before add/commit/push to reduce race conditions on parallel builds
149- run : |
150- git config --global user.name '${{ env.CI_COMMIT_AUTHOR }}'
151- git config --global user.email "[email protected] " 152- git config --local http.postBuffer 524288000
153- git fetch origin
154- git status
155- git add results
156- git status
157- git commit -m "${{ env.CI_COMMIT_MESSAGE }}"
158- git status
159- git rebase --strategy-option=theirs origin/main --verbose
160- git status
161- git push --verbose
120+ sources-upload-name : ${{ needs.prepare-code-to-analyze.outputs.sources-upload-name }}
0 commit comments