We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f78158 commit 537bd8dCopy full SHA for 537bd8d
.github/actions/pushLoggedMetrics/action.yml
@@ -46,9 +46,12 @@ runs:
46
keyfile=$(mktemp) || exit 1
47
cat > "$keyfile" <<< "$METRICSKEY"
48
sig=$(printf %s "$metrics" | openssl dgst -sha256 -sign "$keyfile" -out - | base64 -w0)
49
+
50
+ repo_name=$(basename "$GITHUB_REPOSITORY")
51
52
jq --compact-output --null-input \
53
--arg metrics "$metrics" \
- --arg runner sf-platform \
54
+ --arg runner "$repo_name" \
55
--arg sig "$sig" \
56
'{"runner":$runner,"metrics":$metrics,"signature":$sig}' |
57
tee >(curl -D- -H 'Content-Type: application/json' --data-binary @- \
@@ -59,3 +62,4 @@ runs:
59
62
fi
60
63
env:
61
64
METRICSKEY: ${{ inputs.metricsKey }}
65
+ GITHUB_REPOSITORY: ${{ github.repository }}
0 commit comments