Skip to content

Commit

Permalink
Apply formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
panticmilos committed Mar 22, 2023
1 parent 94d20d2 commit ca24dc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/labeler.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as core from '@actions/core';
import * as github from '@actions/github';
import * as yaml from 'js-yaml';
import { Minimatch } from 'minimatch';
import {Minimatch} from 'minimatch';

interface MatchConfig {
all?: string[];
Expand All @@ -14,8 +14,8 @@ type ClientType = ReturnType<typeof github.getOctokit>;
export async function run() {
try {
const token = core.getInput('repo-token');
const configPath = core.getInput('configuration-path', { required: true });
const syncLabels = !!core.getInput('sync-labels', { required: false });
const configPath = core.getInput('configuration-path', {required: true});
const syncLabels = !!core.getInput('sync-labels', {required: false});

const prNumber = getPrNumber();
if (!prNumber) {
Expand All @@ -25,7 +25,7 @@ export async function run() {

const client: ClientType = github.getOctokit(token);

const { data: pullRequest } = await client.rest.pulls.get({
const {data: pullRequest} = await client.rest.pulls.get({
owner: github.context.repo.owner,
repo: github.context.repo.repo,
pull_number: prNumber
Expand Down

0 comments on commit ca24dc5

Please sign in to comment.