Skip to content

Commit 4106d0a

Browse files
authored
change action to fix workflow permissions (#151)
* change action * fix another action * update workflows
1 parent 9b33292 commit 4106d0a

4 files changed

Lines changed: 19 additions & 12 deletions

File tree

.github/workflows/build-docker-image.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,13 +159,14 @@ jobs:
159159
results/Documentation/renderer/*
160160
161161
- name: "${{ matrix.component.name }} -- Publish Trivy Scan Results"
162-
uses: EnricoMi/publish-unit-test-result-action@v2
162+
uses: mikepenz/action-junit-report@v3
163163
if: ${{ always() && steps.image_build.outcome == 'success' }}
164164
with:
165165
check_name: Trivy Scan Results (${{ matrix.component.name }})
166-
comment_title: Trivy Scan Results (${{ matrix.component.name }})
167-
fail_on: "errors"
168-
junit_files: ./junit.xml
166+
report_paths: ./junit.xml
167+
summary: true
168+
update_check: true
169+
annotate_only: true
169170

170171
- name: "${{ matrix.component.name }} -- Upload image to artifacts"
171172
if: ${{ steps.image_build.outcome == 'success' }}

.github/workflows/ci.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,14 @@ jobs:
7474
coverage2clover -i results/CodeCoverage/cobertura-coverage.xml -o results/CodeCoverage/clover.xml
7575
coveragepy-lcov --data_file_path ./.coverage --output_file_path results/CodeCoverage/lcov.info
7676
77-
- name: Publish Unit Test Results
78-
uses: EnricoMi/publish-unit-test-result-action@v2
77+
- name: Publish Test Report
78+
uses: mikepenz/action-junit-report@v3
7979
if: always()
8080
with:
81-
junit_files: ./results/UnitTest/junit.xml
81+
report_paths: ./results/UnitTest/junit.xml
82+
summary: true
83+
update_check: true
84+
annotate_only: true
8285

8386
#########################################################
8487
# This step was disabled temporarily due to the required
@@ -224,11 +227,14 @@ jobs:
224227
pip install -r app/tests/requirements.txt
225228
pytest ./app/tests/integration --override-ini junit_family=xunit1 --junit-xml=./results/IntTest/junit.xml
226229
227-
- name: Publish integration test results
228-
uses: EnricoMi/publish-unit-test-result-action@v2
230+
- name: Publish Test Report
231+
uses: mikepenz/action-junit-report@v3
229232
if: always()
230233
with:
231-
junit_files: ./results/IntTest/junit.xml
234+
report_paths: ./results/IntTest/junit.xml
235+
summary: true
236+
update_check: true
237+
annotate_only: true
232238

233239
- name: Clone release documentation action repository
234240
uses: actions/checkout@v3

.velocitas.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
},
77
{
88
"name": "devenv-github-workflows",
9-
"version": "v2.0.2"
9+
"version": "v2.0.3"
1010
},
1111
{
1212
"name": "devenv-github-templates",

NOTICE-3RD-PARTY-CONTENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@
7676
|docker/login-action|v2|Apache License 2.0|
7777
|docker/setup-buildx-action|v2|Apache License 2.0|
7878
|docker/setup-qemu-action|v2|Apache License 2.0|
79-
|EnricoMi/publish-unit-test-result-action|v2|Apache License 2.0|
8079
|fountainhead/action-wait-for-check|v1.1.0|MIT License|
8180
|haya14busa/action-cond|v1|MIT License|
8281
|Homebrew/actions|master|BSD 2-Clause "Simplified" License|
8382
|johanvanhelden/gha-clover-test-coverage-check|v1|MIT License|
83+
|mikepenz/action-junit-report|v3|Apache License 2.0|
8484
|peaceiris/actions-gh-pages|v3|MIT License|
8585
|peaceiris/actions-hugo|v2|MIT License|
8686
|softprops/action-gh-release|v1|MIT License|

0 commit comments

Comments
 (0)