Skip to content

keyforge update and better responsive table #43

keyforge update and better responsive table

keyforge update and better responsive table #43

Workflow file for this run

# GitHub Action that uses Black to reformat the Python code in an incoming push request.
name: autoblack
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with: # https://github.com/stefanzweifel/git-auto-commit-action#checkout-the-correct-branch
ref: ${{ github.head_ref }}
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
architecture: 'x64'
- run: pip install black
- run: black --check ./
- name: If needed, commit black changes to a new pull request
if: failure()
run: |
black ./
git config --global user.name autoblack_push
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
# git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git commit -am "fixup! Format Python code with psf/black push"
git push # --force origin HEAD:$GITHUB_REF