We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c3ab0d commit 2981e8dCopy full SHA for 2981e8d
.github/workflows/Lark-notification.yml
@@ -25,8 +25,10 @@ jobs:
25
26
- name: Event Message serialization
27
id: message
28
+ env:
29
+ GITHUB_CONTEXT: ${{ toJSON(github) }}
30
run: |
- YAML=$(echo '${{ toJSON(github) }}' | deno --allow-all .github/scripts/transform-message-for-card.ts)
31
+ YAML=$(echo "$GITHUB_CONTEXT" | deno --allow-all .github/scripts/transform-message-for-card.ts)
32
{
33
echo 'content<<EOF'
34
echo $YAML
0 commit comments