From f1484a6ab288564e7b1edcd4334a631eb1fb763d Mon Sep 17 00:00:00 2001 From: albertkun Date: Thu, 22 Aug 2024 10:18:17 -0700 Subject: [PATCH] fix: conext for github --- .github/workflows/issues-weekly-creation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/issues-weekly-creation.yml b/.github/workflows/issues-weekly-creation.yml index a8cd29e..d0bf95c 100644 --- a/.github/workflows/issues-weekly-creation.yml +++ b/.github/workflows/issues-weekly-creation.yml @@ -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));