You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by da...@apache.org on 2023/12/13 17:55:11 UTC
(beam) 01/01: Remove comment body from action
This is an automated email from the ASF dual-hosted git repository.
damccorm pushed a commit to branch users/damccorm/commentBody
in repository https://gitbox.apache.org/repos/asf/beam.git
commit 82e589b9982759b592f9050c6d5aed2d766f7e11
Author: Danny McCormick <da...@google.com>
AuthorDate: Wed Dec 13 12:55:04 2023 -0500
Remove comment body from action
---
.github/actions/setup-action/action.yml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/.github/actions/setup-action/action.yml b/.github/actions/setup-action/action.yml
index 743e89a931d..4c4bb275319 100644
--- a/.github/actions/setup-action/action.yml
+++ b/.github/actions/setup-action/action.yml
@@ -36,8 +36,10 @@ runs:
shell: bash
if: github.event_name == 'issue_comment' && github.event.comment.body != inputs.comment_phrase
run: |
- echo "The comment ${{ github.event.comment.body }} does not match the phrase for this instance: ${{ inputs.comment_phrase }}. Exiting."
+ echo "The comment $PHRASE does not match the phrase for this instance: ${{ inputs.comment_phrase }}. Exiting."
exit 1
+ env:
+ PHRASE: "${{ github.event.comment.body }}"
- name: Check out repository code if pull request commit
shell: bash
if: ${{ github.event_name == 'pull_request_target' }}
@@ -69,4 +71,4 @@ runs:
- name: expose gcloud path
shell: bash
run: |
- echo KUBELET_GCLOUD_CONFIG_PATH=/var/lib/kubelet/pods/$POD_UID/volumes/kubernetes.io~empty-dir/gcloud >> $GITHUB_ENV
\ No newline at end of file
+ echo KUBELET_GCLOUD_CONFIG_PATH=/var/lib/kubelet/pods/$POD_UID/volumes/kubernetes.io~empty-dir/gcloud >> $GITHUB_ENV