Skip to content

Commit d18d4f9

Browse files
committed
check-run: use a reasonable default for details-url
The details URL should in almost all cases point to the current workflow run. So let's do that by default! Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6f85807 commit d18d4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check-run/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ inputs:
3434
default: ''
3535
details-url:
3636
description: 'The details URL of the Check Run (required when creating a new one)'
37-
default: ''
37+
default: '${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
3838
conclusion:
3939
description: 'If set, the Check Run will be marked as completed'
4040
default: ''

0 commit comments

Comments
 (0)