diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c777d86e0..ee52dc1ad 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -36,9 +36,11 @@ jobs: run: mvn spotless:apply - name: Commit and Push Changes + env: + BOT_EMAIL: ${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }} run: | git config user.name AdyenAutomationBot - git config user.email "${{ secrets.ADYEN_AUTOMATION_BOT_EMAIL }}" + git config user.email "$BOT_EMAIL" git add . if git diff --cached --quiet; then echo "No changes to commit."