Skip to content

Commit

Permalink
Update check-issue.yml
Browse files Browse the repository at this point in the history
test
  • Loading branch information
bikrantjajware authored Oct 27, 2023
1 parent dfd34fc commit c789b65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/check-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Update issue if author has issues
if: steps.check-assignee.outputs.has_issues == 'true'
env:
TEXT: ${{ github.event.issue.body }}
TEXT: ${{ github.event.issue }}
MESSAGE: "${{ github.event.issue.body }}\n\nℹ️ **$ISSUE_AUTHOR** has some opened assigned issues: 🔧[View assigned issues]($ASSIGNED_ISSUE_URL)"
run: |
ISSUE_AUTHOR=${{ github.event.issue.user.login }}
Expand All @@ -40,4 +40,5 @@ jobs:
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$ISSUE_NUMBER \
-d '{ "body":"${MESSAGE}" }'
-d "{\"body\":\"${{ MESSAGE }}\"}"

0 comments on commit c789b65

Please sign in to comment.