Skip to content

Bump pillow from 9.3.0 to 10.0.1 in /examples/browser #141

Bump pillow from 9.3.0 to 10.0.1 in /examples/browser

Bump pillow from 9.3.0 to 10.0.1 in /examples/browser #141

Workflow file for this run

name: auto-format
on: [pull_request, push]
jobs:
format:
# Check if the PR is not from a fork
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: black
uses: lgeiger/black-action@master
with:
args: .
- name: Check for modified files
id: git-check
run: echo ::set-output name=modified::$(if git diff-index --quiet HEAD --; then echo "false"; else echo "true"; fi)
- name: Push changes
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.name 'radekBednarik'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
git commit -am "code autoformat via Black"
git push