diff --git a/.github/workflows/sync-release.yml b/.github/workflows/sync-release.yml index 63b566d3..8163e5f1 100644 --- a/.github/workflows/sync-release.yml +++ b/.github/workflows/sync-release.yml @@ -49,10 +49,10 @@ jobs: uses: actions/github-script@v6 with: script: | - const { context, github } = require('@actions/github'); + const github = require('@actions/github'); await github.issues.create({ owner: context.repo.owner, repo: context.repo.repo, title: 'Sync Failure: Differences found between main and release', body: 'There are differences between `main` and `release` branches that prevented synchronization. Please review the branches and resolve manually.' - }); + }); \ No newline at end of file