Skip to content

Commit

Permalink
chore: restoring workflow git tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Feb 21, 2024
1 parent 7ee3f14 commit de5a548
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/check-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ on:
jobs:
check-python:
runs-on: 'ubuntu-latest'
permissions:
contents: write
steps:
- name: Checkout source code
uses: actions/checkout@v3
Expand Down Expand Up @@ -39,13 +37,9 @@ jobs:
- name: Configure git
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
# set git user and email as test invoke git
git config --global user.email "[email protected]" && git config --global user.name "x-access-token"
# set up git credentials to allow pushing dummy commits
git config --global credential.helper '!f() { echo "username=x-access-token"; echo "password=${GITHUB_TOKEN}"; }; f'
git config --global user.email "[email protected]" && git config --global user.name "github-actions"
- name: Run tests
shell: bash
Expand Down

0 comments on commit de5a548

Please sign in to comment.