Fix slash commands ref
@@ -20,7 +20,7 @@ jobs:
deploy
static-args: |
comment-id=${{ github.event.comment.id }}
- ref=${{ github.ref }}
+ ref=${{ github.event.pull_request.head.ref }}
- name: Edit comment with error message
if: steps.scd.outputs.error-message
uses: peter-evans/create-or-update-comment@v1
