Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down