mirror of
https://github.com/BradNut/awesome-uses
synced 2025-09-08 17:40:31 +00:00
Fixing github import
This commit is contained in:
parent
6a21f99864
commit
9dafb83692
1 changed files with 1 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ const Joi = require('joi');
|
|||
const http = require('http');
|
||||
const https = require('https');
|
||||
const flags = require('./flags.js');
|
||||
const github = require('@actions/github');
|
||||
|
||||
async function getCurrentBranchName() {
|
||||
let myOutput = '';
|
||||
|
|
@ -124,7 +125,6 @@ module.exports.communicateValidationOutcome = async function (
|
|||
|
||||
const pullRequestNumber = context.payload.pull_request.number;
|
||||
|
||||
const github = require('@actions/github');
|
||||
const octokit = new github.getOctokit(GITHUB_TOKEN);
|
||||
await octokit.issues.createComment({
|
||||
...context.repo,
|
||||
|
|
|
|||
Loading…
Reference in a new issue