Dummy Harvestr Ticket #3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Harvestr Updates (Feedback) | |
| on: | |
| issues: | |
| types: [assigned, closed, milestoned, demilestoned] | |
| jobs: | |
| update-harvestr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Find comment matching a regex pattern | |
| uses: peter-evans/find-comment@v3 | |
| id: find_comment | |
| with: | |
| issue-number: ${{ github.event.issue.number }} | |
| body-includes: "Issue was linked to Harvestr Discovery" | |
| - run: | | |
| echo "DEBUG: ${{ steps.find_comment.outputs.comment-body }}" | |
| HARVEST_ID=$(echo "${{ steps.find_comment.outputs.comment-body }}" | sed -e 's/.*list\/\(.*\))/\1/p') | |
| echo "Found ID: ${HARVEST_ID}" | |
| echo "Action: ${{ github.event.action }}" | |
| # Planned eRnRKMd0dVd | |
| # New ga3xFjA7FHO | |
| # Not for now 0PtZSDdq2pZ | |
| # Shipped HKxdJwUCJKQ | |
| # In Progress z5tLYR4dHDW |