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