Skip to content

Commit de00ae3

Browse files
committed
.github/workflows/01-make-dist.yml: PoC with LouisBrunner/checks-action to change the action/check entry itself (as alternative to PR/commit comments) [networkupstools#1400]
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
1 parent f8ecd52 commit de00ae3

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/01-make-dist.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ on:
2626
# Allow manually running the action, e.g. if disabled after some quietness in the source
2727

2828
permissions:
29+
checks: write
2930
contents: write
3031
issues: write
3132
pull-requests: write
@@ -43,6 +44,19 @@ jobs:
4344
fail-fast: false
4445

4546
steps:
47+
# PoC, see https://github.com/LouisBrunner/checks-action
48+
- name: "GHA-01: Change this GH Check report"
49+
uses: LouisBrunner/checks-action@v2.0.0
50+
if: always()
51+
#continue-on-error: true
52+
with:
53+
token: ${{ secrets.GITHUB_TOKEN }}
54+
#check_id: ${{ github.run_id }}
55+
name: "GHA-01: Make dist and docs tarballs, see workflow page for links"
56+
status: "in_progress"
57+
details_url: http://localhost
58+
output: '{ "text_description": "Dist and Docs tarballs will be linked here after the `make dist` job completes", "summary": "in_progress"}'
59+
4660
# Post early so this would be about the top comment in the PR trail
4761
# (easy to see, contents replaced later)
4862
- name: "GHA-01: Make dist and docs tarballs - report download URL (placeholder) as a first-ever PR comment"

0 commit comments

Comments
 (0)