From a0ce12d10a02947ec87947d0162534f379f24dd5 Mon Sep 17 00:00:00 2001 From: ashwin-naini <153580198+ashwin-naini@users.noreply.github.com> Date: Sun, 29 Dec 2024 16:05:22 -0700 Subject: [PATCH 1/2] Update githubactions-push.yml --- .github/workflows/githubactions-push.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/githubactions-push.yml b/.github/workflows/githubactions-push.yml index 2769b76..773f647 100644 --- a/.github/workflows/githubactions-push.yml +++ b/.github/workflows/githubactions-push.yml @@ -6,8 +6,8 @@ on: inputs: branch: description: "select the branch name" - required: true - default: "feature/ash" + required: true + default: " " type: string push: branches: [main] From 5525763fa40e4bc68865a4729d2ff45fb6dd3e59 Mon Sep 17 00:00:00 2001 From: ashwin-naini <153580198+ashwin-naini@users.noreply.github.com> Date: Mon, 30 Dec 2024 14:01:22 -0700 Subject: [PATCH 2/2] Create pullrequest.yml --- .github/workflows/pullrequest.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/pullrequest.yml diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml new file mode 100644 index 0000000..4d46801 --- /dev/null +++ b/.github/workflows/pullrequest.yml @@ -0,0 +1,17 @@ +name: PR Opened Workflow + +on: + pull_request: + types: [opened] + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Install dependencies + run: npm install + - name: Run tests + run: npm test