Skip to content

Commit

Permalink
Update check-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bikrantjajware authored Oct 27, 2023
1 parent 0707eb9 commit 2dd1941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
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)"
ANSWER= $(echo "$github.event.issue.body" | grep -oP "Do you want to work on this issue?\s*\K[^\n]+")
echo "ans: $ANSWER"
$(echo "$github.event.issue.body" | grep -oP "Do you want to work on this issue?\s*\K[^\n]+")
echo "Updating issue with message: $MESSAGE"
echo ${{ github.event.issue }}
curl -L \
Expand Down

0 comments on commit 2dd1941

Please sign in to comment.