Skip to content

Commit

Permalink
Merge pull request #1 from agoric-labs/tl-use-variable
Browse files Browse the repository at this point in the history
Use intermediate variable for github env values
  • Loading branch information
toliaqat authored May 15, 2024
2 parents d474df4 + 7e28ffb commit b437bdd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ runs:
- name: Get Deployment Bot Comments
id: deployment-id
shell: bash
env:
COMMENTS: ${{ github.event.comment.body }}
run: |
COMMENTS='${{ github.event.comment.body }}'
LOGID=$(echo $COMMENTS | grep -Eo "(http|https)://[a-zA-Z0-9./]*(${{inputs.cf_project}})+" | sort -u | awk -F/ '{print $3}' | awk -F. '{print $1}')
echo "LOGID: $LOGID"
if [ -z "$LOGID" ]; then
Expand Down

0 comments on commit b437bdd

Please sign in to comment.