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 http = require('http');
|
||||||
const https = require('https');
|
const https = require('https');
|
||||||
const flags = require('./flags.js');
|
const flags = require('./flags.js');
|
||||||
|
const github = require('@actions/github');
|
||||||
|
|
||||||
async function getCurrentBranchName() {
|
async function getCurrentBranchName() {
|
||||||
let myOutput = '';
|
let myOutput = '';
|
||||||
|
|
@ -124,7 +125,6 @@ module.exports.communicateValidationOutcome = async function (
|
||||||
|
|
||||||
const pullRequestNumber = context.payload.pull_request.number;
|
const pullRequestNumber = context.payload.pull_request.number;
|
||||||
|
|
||||||
const github = require('@actions/github');
|
|
||||||
const octokit = new github.getOctokit(GITHUB_TOKEN);
|
const octokit = new github.getOctokit(GITHUB_TOKEN);
|
||||||
await octokit.issues.createComment({
|
await octokit.issues.createComment({
|
||||||
...context.repo,
|
...context.repo,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue