We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbf9a24 commit cb6ecfaCopy full SHA for cb6ecfa
.github/workflows/build-and-test.yml
@@ -125,6 +125,8 @@ jobs:
125
with:
126
github-token: ${{ env.GGG_TOKEN }}
127
script: |
128
- const exports = require(`${process.env.GITHUB_WORKSPACE}/gitgitgadget/build/lib/delete-ci-test-branches.js`)
129
- await exports.deleteBranches(github, process.env.GITHUB_REPOSITORY_OWNER, process.env.GGG_REPOSITORY);
+ const {pathToFileURL} = await import("node:url");
+ const filePath = pathToFileURL(`${process.env.GITHUB_WORKSPACE}/gitgitgadget/build/lib/delete-ci-test-branches.js`);
130
+ const {deleteBranches} = await import(filePath);
131
+ await deleteBranches(github, process.env.GITHUB_REPOSITORY_OWNER, process.env.GGG_REPOSITORY);
132
if: env.GGG_REPOSITORY
0 commit comments