Skip to content
Snippets Groups Projects
Commit efb2ff90 authored by Ciro Santilli's avatar Ciro Santilli
Browse files

v2

parent 3dde5208
No related branches found
No related tags found
No related merge requests found
......@@ -2,11 +2,6 @@ name: Issue
on:
issues:
types: [opened]
inputs:
token:
description: 'The GitHub token'
required: false
default: ${{ github.token }}
jobs:
Issue:
runs-on: ubuntu-20.04
......
......@@ -56,9 +56,9 @@ for (const image of images) {
//});
console.log(github.context);
const token = core.getInput("token");
//const token = core.getInput("token");
const pull_request_number = 237;
const octokit = new github.getOctokit(token);
const octokit = new github.getOctokit(process.env.GITHUB_TOKEN);
const new_comment = octokit.issues.createComment({
owner: 'cirosantilli',
repo: 'china-dictatorship',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment