File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- name : Create Weekly Sync discussion
1+ name : Create Monthly Sync discussion
22
3- # Every Wednesday at 12AM UTC
3+ # First Wednesday of every month at 12AM UTC
44on :
55 schedule :
6- - cron : " 0 0 * * 3"
6+ - cron : " 0 0 1-7 * 3"
77
88jobs :
99 create-discussion :
@@ -24,15 +24,15 @@ jobs:
2424 query GetRepositoryInformation ($name: String!, $owner: String!) {
2525 repository(name: $name, owner: $owner) {
2626 id
27- discussionCategory(slug: "weekly -sync") {
27+ discussionCategory(slug: "monthly -sync") {
2828 id
2929 }
3030 }
3131 }
3232
3333 - name : Get current date
3434 id : current-date
35- run : echo "date=$(date -d "next Tue" +'%d %B %Y')" >> $GITHUB_OUTPUT
35+ run : echo "date=$(date +' %B %Y')" >> $GITHUB_OUTPUT
3636
3737 - name : Create repository discussion
3838 id : create-repository-discussion
4141 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4242 with :
4343 variables : |
44- body: "<b>Please add agenda items below and give your weekly update in a comment. Thank you!</b><br/><h2>Agenda</h2>"
45- title: "Weekly Sync - ${{ steps.current-date.outputs.date }}"
44+ body: "<b>Please add agenda items below and give your monthly update in a comment. Thank you!</b><br/><h2>Agenda</h2>"
45+ title: "Monthly Sync - ${{ steps.current-date.outputs.date }}"
4646 repositoryId: ${{ fromJSON(steps.get-repository-info.outputs.data).repository.id }}
4747 categoryId: ${{ fromJSON(steps.get-repository-info.outputs.data).repository.discussionCategory.id }}
4848 query : |
You can’t perform that action at this time.
0 commit comments