Skip to content

Commit

Permalink
Fix thank you workflow (#5022)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashesh3 authored Mar 6, 2023
1 parent 5b601e5 commit cf746b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/thank-you.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
contents: write
steps:
- name: Add thankyou note
uses: actions/[email protected]
Expand All @@ -32,7 +34,7 @@ jobs:
const { assignees } = result.data
if (assignees.length == 0) {
await github.rest.issues.createComment({ ...options, body })
await github.rest.issues.createComment({ ...options, body: thankyouNote })
return
}
Expand Down

0 comments on commit cf746b9

Please sign in to comment.