Skip to content

Commit

Permalink
Test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ibakshay committed Sep 20, 2024
1 parent bf806f6 commit b566f5f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ const input = __importStar(__nccwpck_require__(3611));
function run() {
return __awaiter(this, void 0, void 0, function* () {
try {
core.info(`test logs`);
core.info(`CLA Assistant GitHub Action bot has started the process`);
/*
* using a `string` true or false purposely as github action input cannot have a boolean value
Expand Down Expand Up @@ -932,13 +931,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
};
Object.defineProperty(exports, "__esModule", ({ value: true }));
exports.setupClaCheck = void 0;
const core = __importStar(__nccwpck_require__(2186));
const github_1 = __nccwpck_require__(5438);
const checkAllowList_1 = __nccwpck_require__(3661);
const graphql_1 = __importDefault(__nccwpck_require__(5157));
const pullRequestComment_1 = __importDefault(__nccwpck_require__(3326));
const github_1 = __nccwpck_require__(5438);
const persistence_1 = __nccwpck_require__(5802);
const pullRequestComment_1 = __importDefault(__nccwpck_require__(3326));
const pullRerunRunner_1 = __nccwpck_require__(4766);
const core = __importStar(__nccwpck_require__(2186));
function setupClaCheck() {
return __awaiter(this, void 0, void 0, function* () {
let committerMap = getInitialCommittersMap();
Expand Down Expand Up @@ -980,6 +979,7 @@ function getCLAFileContentandSHA(committers, committerMap) {
return createClaFileAndPRComment(committers, committerMap);
}
else {
core.info(`error status: ${error.status}`);
throw new Error(`Could not retrieve repository contents. Status: ${error.status || 'unknown'}`);
}
}
Expand Down
1 change: 0 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import * as input from './shared/getInputs'

export async function run() {
try {
core.info(`test logs`)
core.info(`CLA Assistant GitHub Action bot has started the process`)

/*
Expand Down
7 changes: 4 additions & 3 deletions src/setupClaCheck.ts
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
import * as core from '@actions/core'
import { context } from '@actions/github'
import { checkAllowList } from './checkAllowList'
import getCommitters from './graphql'
import prCommentSetup from './pullrequest/pullRequestComment'
import {
ClafileContentAndSha,
CommitterMap,
CommittersDetails,
ReactedCommitterMap
} from './interfaces'
import { context } from '@actions/github'
import {
createFile,
getFileContent,
updateFile
} from './persistence/persistence'
import prCommentSetup from './pullrequest/pullRequestComment'
import { reRunLastWorkFlowIfRequired } from './pullRerunRunner'
import * as core from '@actions/core'

export async function setupClaCheck() {
let committerMap = getInitialCommittersMap()
Expand Down Expand Up @@ -67,6 +67,7 @@ async function getCLAFileContentandSHA(
if (error.status === 404) {
return createClaFileAndPRComment(committers, committerMap)
} else {
core.info(`error status: ${error.status}`)
throw new Error(
`Could not retrieve repository contents. Status: ${
error.status || 'unknown'
Expand Down

0 comments on commit b566f5f

Please sign in to comment.