From c72316978400f9d42becf09a840469602bcf16e7 Mon Sep 17 00:00:00 2001 From: Mohan Raj Date: Mon, 19 Feb 2024 16:20:01 +0000 Subject: [PATCH] unstage husky and node_modules --- .github/workflows/plugin-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/plugin-build.yml b/.github/workflows/plugin-build.yml index 4eb45b4..9acc643 100644 --- a/.github/workflows/plugin-build.yml +++ b/.github/workflows/plugin-build.yml @@ -42,9 +42,9 @@ jobs: - name: Create and push built branch run: | git checkout -b main-built + git add -A # Stage all changes, including untracked files git reset -- .husky/ # Unstage the .husky directory git reset -- node_modules/ # Unstage the node_modules directory - git add -A # Stage all changes, including untracked files git ls-files --ignored --exclude-standard -o -z | xargs -0 git rm --cached # Remove ignored files from the index git commit -m "Built WordPress plugin" git push origin main-built