From f98fe4446865c26e4cc16f228a5c7acaeb4d23b9 Mon Sep 17 00:00:00 2001 From: Sangam Biradar Date: Mon, 27 Nov 2023 07:24:17 +0530 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f58063b..60113df 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -2,9 +2,15 @@ name: Convert Excel to JavaScript Object on: push: - paths: - - '/cloudnativetools.xlsx' # This ensures the action runs only when the Excel file changes. + branches: ['main'] + paths: + - '/cloudnativetools.xlsx' # This ensures the action runs only when the Excel file changes. + workflow_dispatch: + + + + jobs: convert_excel_to_js: runs-on: ubuntu-latest