fix
This commit is contained in:
parent
a8da58dd52
commit
14e56223cd
32
.github/workflows/assign-milestones.yml
vendored
32
.github/workflows/assign-milestones.yml
vendored
|
@ -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})
|
||||
|
|
Loading…
Reference in New Issue
Block a user