Skip to content

Commit b290829

Browse files
authored
Update host-reminder.yml
1 parent 13f47cd commit b290829

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/host-reminder.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
jobs:
88
remind-hosts:
99
runs-on: ubuntu-latest
10+
permissions:
11+
issues: write
1012
if: github.event.label.name == 'scheduled'
1113
steps:
1214
- name: Comment on issue
@@ -18,5 +20,6 @@ jobs:
1820
owner: context.repo.owner,
1921
repo: context.repo.repo,
2022
issue_number: context.issue.number,
21-
body: `Hi @Lpachicodes,\n\nThis stream has been scheduled. Please complete the following tasks:\n\n- [ ] Create social card\n- [ ] Create meetup link\n- [ ] Create and schedule twitch stream (Linkedin, Twitch, Youtube)\n- [ ] Schedule social media post (Twitter)\n- [ ] Send prep doc to guests\n\nYou can find the instructions in this [guide](https://github.com/githubevents/open-source-friday/blob/main/admin/guest-assets/Streaming-Guide.md).`
22-
}; github.rest.issues.createComment(issueComment);
23+
body: `Hi @pachicodes,\n\nThis stream has been scheduled. Please complete the following tasks:\n\n- [ ] Create social card\n- [ ] Create meetup link\n- [ ] Create and schedule tweets.`
24+
};
25+
await github.rest.issues.createComment(issueComment);

0 commit comments

Comments
 (0)