Skip to content

Commit 795df8e

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

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
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: 11 additions & 9 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:
@@ -101,3 +95,11 @@ jobs:
10195
steps:
10296
- name: Summary status
10397
run: if ${{ needs.openapi-repositories.result != 'success' && needs.openapi-repositories.result != 'skipped' }}; then exit 1; fi
98+
99+
- name: Generate Markdown Summary
100+
uses: Ma11hewThomas/github-markdown-builder@v1
101+
with:
102+
template-file-path: './template.hbs'
103+
pull-request: true
104+
env:
105+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)