Skip to content

Commit

Permalink
changed issue code
Browse files Browse the repository at this point in the history
  • Loading branch information
ANSHIKA-26 committed Oct 2, 2024
1 parent 4bf7c1a commit d3352ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/issue_thank.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- name: 'Thank and assign the issue to the creator'
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }} # This line uses the token
script: |
const issueNumber = context.issue.number;
const issueCreator = context.payload.issue.user.login;
Expand All @@ -22,7 +23,7 @@ jobs:
issue_number: issueNumber,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Thanks @${issueCreator} for raising this issue! We'll look into it. Meanwhile, it's been assigned to you for further tracking.`
body: `Thanks @${issueCreator} for raising this issue!`
});
// Assign the issue to the creator
Expand Down

0 comments on commit d3352ba

Please sign in to comment.