Skip to content

Commit 827c444

Browse files
committed
Green CI?
Signed-off-by: Joas Schilling <[email protected]>
1 parent 6292e66 commit 827c444

File tree

2 files changed

+15
-11
lines changed

2 files changed

+15
-11
lines changed

.github/workflows/template.hbs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Create a Custom Summary!
2+
3+
| **Tests 📝** | **Passed ✅** | **Failed ❌** | **Skipped ⏭️** | **Pending ⏳** | **Other ❓** | **Flaky 🍂** | **Duration ⏱️** |
4+
| --- | --- | --- | --- | --- | --- | --- | --- |
5+
|{{data.results.summary.tests}}|{{data.results.summary.passed}}|{{data.results.summary.failed}}|{{data.results.summary.skipped}}|{{data.results.summary.pending}}|{{data.results.summary.other}}|{{data.results.summary.start}}|{{data.results.summary.stop}}|

.github/workflows/test-repositories.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88

99
name: Generate OpenAPI in Repositories
1010

11-
on:
12-
pull_request:
13-
push:
14-
branches:
15-
- main
16-
- master
17-
- stable*
11+
on: pull_request
1812

1913
permissions:
2014
contents: read
@@ -85,8 +79,8 @@ jobs:
8579
- name: Show changes of the API for assistance
8680
working-directory: temp-repository/
8781
run: |
88-
git status
89-
git --no-pager diff
82+
git status
83+
git --no-pager diff
9084
9185
summary:
9286
permissions:
@@ -99,5 +93,10 @@ jobs:
9993
name: openapi-repositories-summary
10094

10195
steps:
102-
- name: Summary status
103-
run: if ${{ needs.openapi-repositories.result != 'success' && needs.openapi-repositories.result != 'skipped' }}; then exit 1; fi
96+
- name: Generate Markdown Summary
97+
uses: Ma11hewThomas/github-markdown-builder@v1
98+
with:
99+
template-file-path: './template.hbs'
100+
pull-request: true
101+
env:
102+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)