From e18adfbcac44e5384df2712a4fb2452a09a46be1 Mon Sep 17 00:00:00 2001 From: Ben Date: Sat, 23 Apr 2022 03:38:31 +0300 Subject: [PATCH] fix issues --- .github/workflows/{develop_actions.yml => test.yml} | 0 action.yml | 2 +- package.json | 6 +++--- src/{develop_actions.js => actions.js} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{develop_actions.yml => test.yml} (100%) rename src/{develop_actions.js => actions.js} (100%) diff --git a/.github/workflows/develop_actions.yml b/.github/workflows/test.yml similarity index 100% rename from .github/workflows/develop_actions.yml rename to .github/workflows/test.yml diff --git a/action.yml b/action.yml index f5917a0..c55e067 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ inputs: required: true runs: using: 'node16' - main: './src/develop_actions.js' + main: './src/actions.js' branding: icon: 'package' diff --git a/package.json b/package.json index 95434a1..c3687be 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { - "name": "automate pull request", + "name": "automate-pull-request", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { - "build": "rm -rf action && ncc build src/develop_actions.js -o action", - "start": "babel-node src/develop_actions.js", + "build": "rm -rf action && ncc build src/actions.js -o action", + "start": "babel-node src/actions.js", "deploy":"cd src && zip -r -D test.zip .", "test": "echo \"Error: no test specified\" && exit 1" }, diff --git a/src/develop_actions.js b/src/actions.js similarity index 100% rename from src/develop_actions.js rename to src/actions.js