Skip to content

Commit 1be3806

Browse files
committed
Test: Attempt to auto-comment failures
Signed-off-by: Jesse Whitehouse <[email protected]>
1 parent 65d42d4 commit 1be3806

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/dco-check.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,17 @@ jobs:
66
check:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: tisonkun/[email protected]
9+
- name: Check for DCO
10+
id: dco-check
11+
uses: tisonkun/[email protected]
12+
- name: Comment about DCO status
13+
uses: actions/github-script@v6
14+
if: ${{ failure() }}
15+
with:
16+
script: |
17+
github.rest.issues.createComment({
18+
issue_number: context.issue.number,
19+
owner: context.repo.owner,
20+
repo: context.repo.repo,
21+
body: "${{steps.dco-check.outputs.result}}"
22+
})

0 commit comments

Comments
 (0)