From d41391cc371ed4edbec8ae2c2fd547461ccf760e Mon Sep 17 00:00:00 2001 From: Mohan Raj Date: Mon, 19 Feb 2024 19:42:23 +0000 Subject: [PATCH] new build step with email --- .github/workflows/plugin-build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/plugin-build.yml b/.github/workflows/plugin-build.yml index a6c852b..22dfe64 100644 --- a/.github/workflows/plugin-build.yml +++ b/.github/workflows/plugin-build.yml @@ -51,6 +51,9 @@ jobs: git checkout -b main-built git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com" git config --global user.name "${{ github.actor }}" + git config --global credential.helper "store --file=.git/credentials" + echo "username=${{ secrets.GITHUB_ACTOR }}" >> .git/credentials + echo "password=${{ secrets.GITHUB_TOKEN }}" >> .git/credentials git add -A # Stage all changes, including untracked files git clean -fdX git commit -m "Built WordPress plugin" --no-verify