diff --git a/.github/workflows/check-issue.yml b/.github/workflows/check-issue.yml index 1caed395..4354b14a 100644 --- a/.github/workflows/check-issue.yml +++ b/.github/workflows/check-issue.yml @@ -29,9 +29,9 @@ jobs: ISSUE_NUMBER=${{ github.event.issue.number }} ISSUE_URL="https://github.com/$GITHUB_REPOSITORY/issues/$ISSUE_NUMBER" ASSIGNED_ISSUE_URL="https://github.com/$GITHUB_REPOSITORY/issues?q=is%3Aopen+is%3Aissue+assignee%3A$ISSUE_AUTHOR" - MESSAGE: "${{ github.event.issue.body }}\n\nℹ️ **$ISSUE_AUTHOR** has some opened assigned issues: 🔧[View assigned issues]($ASSIGNED_ISSUE_URL)" + MESSAGE= "${{ github.event.issue.body }}\n\nℹ️ **$ISSUE_AUTHOR** has some opened assigned issues: 🔧[View assigned issues]($ASSIGNED_ISSUE_URL)" ANSWER= $(echo "$github.event.issue.body" | grep -oP "Do you want to work on this issue?\s*\K[^\n]+") - echo ANSWER + echo "ans: $ANSWER" echo "Updating issue with message: $MESSAGE" echo ${{ github.event.issue }} curl -L \