damccorm commented on code in PR #40388:
URL: https://github.com/apache/beam/pull/40388#discussion_r4165064629
##########
.github/actions/setup-action/action.yml:
##########
@@ -17,29 +17,10 @@
name: 'Setup action'
description: 'Setup repository and configure the required steps'
-inputs:
- comment_phrase:
- description: "The comment phrase in the PR"
- required: true
- github_token:
- description: "The GitHub token"
- required: true
- github_job:
- description: "The GitHub job"
- required: false
- default: ''
runs:
using: composite
steps:
- - name: Check if the phrase is correct
- shell: bash
- if: github.event_name == 'issue_comment' && github.event.comment.body !=
inputs.comment_phrase
- run: |
- 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
Review Comment:
Do we still need this checkout? Won't this just checkout the same ref that
pull_request is already checking out?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]