Skip to content

Commit

Permalink
Update done.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-ge authored Oct 20, 2023
1 parent b507721 commit a3de39b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/done.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Assign issue to author if comment is $done
uses: actions/github-script@v5
uses: actions/github-script@v6
with:
script: |
const issue = context.issue;
const comment_id = context.payload.comment.id;
const comment_body = context.payload.comment.body;
const creator = context.payload.issue.user.login;
if (comment_body.trim() === "$done") {
if (comment_body.trim() === "$test") {
github.rest.issues.addAssignees({
owner: issue.owner,
repo: issue.repo,
Expand Down

0 comments on commit a3de39b

Please sign in to comment.