Skip to content

script: indicate if keys are cached or not #263

script: indicate if keys are cached or not

script: indicate if keys are cached or not #263

Workflow file for this run

name: Run isort
on:
- push
permissions: write-all
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: "3.9"
- uses: isort/isort-action@master
with:
configuration: "--profile black"
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add -A && git diff-index --cached --quiet HEAD || git commit -m 'isort'
- name: Push changes
uses: ad-m/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}