Skip to content

Commit 2ddc98f

Browse files
committed
ci: propose DMN_TCK update on test failures
1 parent 941fbef commit 2ddc98f

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

.github/workflows/DMN_TCK.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,30 @@ jobs:
2929
- name: Execute TCK tests
3030
run: npm run tck
3131
env:
32-
TCK_DIR: tmp/dmn-tck
32+
TCK_DIR: tmp/dmn-tck
33+
34+
Propose_TCK_Update:
35+
runs-on: ubuntu-latest
36+
if: ${{ failure() }}
37+
38+
needs: Build
39+
40+
permissions:
41+
contents: read
42+
issues: write
43+
44+
steps:
45+
- name: Update TCK results
46+
run: npm run tck
47+
env:
48+
TCK_DIR: tmp/dmn-tck
49+
DRY_RUN: false
50+
- name: Propose update to TCK results
51+
uses: peter-evans/create-pull-request@v7
52+
with:
53+
commit-message: |
54+
test(tck): update results
55+
branch: update-dmn-tck-status
56+
title: Update DMN_TCK test results
57+
body: |
58+
Updating DMN_TCK results after test failure in [this action](https://github.com/nikku/feelin/actions/runs/${{ github.run_id }}).

0 commit comments

Comments
 (0)