Skip to content

Commit

Permalink
Merge pull request #10 from direct-actions/dev
Browse files Browse the repository at this point in the history
fix key embedding
  • Loading branch information
robzr authored Mar 13, 2024
2 parents 6a3cf71 + f39994a commit 4db56bd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ runs:
steps:
- env:
CLASSIFIER: ${{ inputs.classifier }}
COMMENT: '<!--direct-actions/pr-comment:key:${{ inputs.key }}-->${{ inputs.comment }}'
COMMENT: ${{ inputs.comment }}
COMMENT_KEY: ${{ inputs.key }}
GITHUB_TOKEN: ${{ inputs.token }}
OPERATION: ${{ inputs.operation }}
PULL_REQUEST: ${{ inputs.pull-request }}
Expand All @@ -98,6 +99,7 @@ runs:
ALL_COMMENTS=$(mktemp)
CLASSIFIER="$(tr '[a-z]' '[A-Z]' <<< "$CLASSIFIER")"
COMMENT='<!--direct-actions/pr-comment:key:'"${COMMENT_KEY}-->"$'\n'"${COMMENT}"
COMMENTS=$(mktemp)
ERROR=$(mktemp)
Expand Down

0 comments on commit 4db56bd

Please sign in to comment.