Skip to content

Commit afad52f

Browse files
authored
Merge pull request #3 from grafana/comment-on-pr
Allow action to comment the URL(s) of cloud test run on pull request
2 parents e97c981 + 3db44b8 commit afad52f

File tree

6 files changed

+4742
-53
lines changed

6 files changed

+4742
-53
lines changed

action.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ branding:
66
color: 'purple'
77

88
inputs:
9+
github-token:
10+
description: 'GitHub API Access Token'
11+
default: ${{ github.token }}
12+
required: true
913
path:
1014
description: 'Path to the k6 test files'
1115
required: true
@@ -21,6 +25,10 @@ inputs:
2125
cloud-run-locally:
2226
description: 'If true, run tests locally instead and upload results to Grafana Cloud k6'
2327
required: false
28+
cloud-comment-on-pr:
29+
description: 'If true, comment the cloud test run URL on the pull request'
30+
default: "true"
31+
required: false
2432

2533
runs:
2634
using: node20

0 commit comments

Comments
 (0)