Skip to content

Commit

Permalink
fix: conext for github
Browse files Browse the repository at this point in the history
  • Loading branch information
albertkun committed Aug 22, 2024
1 parent 7f3519f commit f1484a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/issues-weekly-creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
uses: actions/github-script@v6
with:
script: |
const { github, context } = require('@actions/github');
const now = new Date();
const nextTuesday = new Date(now);
nextTuesday.setDate(now.getDate() + ((2 + 7 - now.getDay()) % 7));
Expand Down

0 comments on commit f1484a6

Please sign in to comment.