Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ async function run () {
const myToken = core.getInput('myToken')
// use myToken: ${{ secrets.GITHUB_TOKEN }} in your workflow
const octokit = github.getOctokit(myToken)
// console.log(github);
core.info(github);
const req = {
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
}
// console.log("req is ", req);
core.info("req is ", req);
const { data: pullRequest } = await octokit.rest.pulls.get(
req
)
// console.log("pullRequest is ", pullRequest);
core.info("pullRequest is ", pullRequest);

const body = pullRequest.body
// console.log("found body=",body);
Expand Down
9 changes: 0 additions & 9 deletions node_modules/@actions/core/LICENSE.md

This file was deleted.

335 changes: 0 additions & 335 deletions node_modules/@actions/core/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions node_modules/@actions/core/lib/command.d.ts

This file was deleted.

Loading