From 14e56223cd1ccea89c5452e7b3f2b4ad06ea754d Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 10 Jan 2022 13:22:35 +0100 Subject: [PATCH] fix --- .github/workflows/assign-milestones.yml | 32 ++++++++++++------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/assign-milestones.yml b/.github/workflows/assign-milestones.yml index 0b936cd..dbdee22 100644 --- a/.github/workflows/assign-milestones.yml +++ b/.github/workflows/assign-milestones.yml @@ -21,22 +21,22 @@ jobs: github-token: ${{ secrets.MY_GITHUB_TOKEN_TESTREPO }} script: | - # see https://github.com/actions/github-script - # - # github A pre-authenticated octokit/rest.js client with pagination plugins - # .rest The REST API (e.g. github.rest.issues.get(...) gets an issue) - # .request - # .paginate - # .graphql - # context An object containing the context of the workflow run - # see https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts - # core A reference to the @actions/core package - # glob A reference to the @actions/glob package - # io A reference to the @actions/io package - # exec A reference to the @actions/exec package - # require A proxy wrapper around the normal Node.js require to enable requiring relative paths - # (relative to the current working directory) + requiring npm packages installed in the - # current working directory. + // see https://github.com/actions/github-script + // + // github A pre-authenticated octokit/rest.js client with pagination plugins + // .rest The REST API (e.g. github.rest.issues.get(...) gets an issue) + // .request + // .paginate + // .graphql + // context An object containing the context of the workflow run + // see https://github.com/actions/toolkit/blob/main/packages/github/src/context.ts + // core A reference to the @actions/core package + // glob A reference to the @actions/glob package + // io A reference to the @actions/io package + // exec A reference to the @actions/exec package + // require A proxy wrapper around the normal Node.js require to enable requiring relative paths + // (relative to the current working directory) + requiring npm packages installed in the + // current working directory. const script = require('./assign-milestone.js') script({github, context})