Skip to content

Commit b621276

Browse files
committed
new workflow
1 parent 12fb4cb commit b621276

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/harvestr-update-discovery.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
shell: bash
2121
env:
2222
HARVESTR_API_KEY: ${{ secrets.HARVESTR_API_KEY }}
23-
run: |
24-
echo "DEBUG: ${{ steps.find_comment.outputs.comment-body }}"
25-
HARVEST_ID=$(echo "${{ steps.find_comment.outputs.comment-body }}" | sed -e 's/.*list\/\(.*\))/\1/p')
23+
COMMENT_BODY: ${{ steps.find_comment.outputs.comment-body }}
24+
run: |
25+
echo "DEBUG: ${COMMENT_BODY}"
26+
HARVEST_ID=$(echo "${COMMENT_BODY}" | sed -n 's/.*list\/\(.*\))/\1/p')
2627
echo "Found ID: ${HARVEST_ID}"
2728
echo "Action: ${{ github.event.action }}"
2829

0 commit comments

Comments
 (0)