diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3ab708..2962357 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,6 +40,10 @@ jobs: curl -v -H "Authorization: token ${{ secrets.GH_TOKEN }}" \ https://api.github.com/repos/${{ github.repository }} shell: bash + - name: Set git user for hawkdeploy + run: | + git config user.name "${{ secrets.GH_DEPLOY_USER }}" + git config user.email "${{ secrets.GH_DEPLOY_EMAIL }}" - name: Set up git for pushing run: | git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git @@ -58,6 +62,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + - name: Set git user for hawkdeploy + run: | + git config user.name "${{ secrets.GH_DEPLOY_USER }}" + git config user.email "${{ secrets.GH_DEPLOY_EMAIL }}" - name: Set up git for pushing run: | git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3cfab40..246d0f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,10 +59,10 @@ jobs: - name: Set up git for pushing run: | git remote set-url origin https://x-access-token:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git - - name: Set git user for GitHub Actions bot + - name: Set git user for deploy run: | - git config user.name "github-actions[bot]" - git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config user.name "${{ secrets.GH_DEPLOY_USER }}" + git config user.email "${{ secrets.GH_DEPLOY_EMAIL }}" - name: Build package run: | python -m build