Skip to content

Commit d41391c

Browse files
committed
new build step with email
1 parent 9bcd4eb commit d41391c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/plugin-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ jobs:
5151
git checkout -b main-built
5252
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
5353
git config --global user.name "${{ github.actor }}"
54+
git config --global credential.helper "store --file=.git/credentials"
55+
echo "username=${{ secrets.GITHUB_ACTOR }}" >> .git/credentials
56+
echo "password=${{ secrets.GITHUB_TOKEN }}" >> .git/credentials
5457
git add -A # Stage all changes, including untracked files
5558
git clean -fdX
5659
git commit -m "Built WordPress plugin" --no-verify

0 commit comments

Comments
 (0)