Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
diegovalenzuelaiturra authored Feb 7, 2020
1 parent f62d8ed commit e3d6c1a
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
# YAPF Code Formatter GitHub Action

A GitHub action that runs [YAPF code formatter](https://github.com/google/yapf) for Python.

## Example Workflow

```workflow
name: YAPF Code Formatter :)

# This workflow is triggered on pushes to the repository.
# This workflow is triggered on pushes or pull requests
# to the master branch.
on:
push:

push:
paths:
- '**.py'
- '**.py'
jobs:
build:

Expand Down Expand Up @@ -45,7 +40,3 @@ jobs:
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
```

For a full list of possible `args` checkout the [YAPF docs](https://github.com/google/yapf#usage).

0 comments on commit e3d6c1a

Please sign in to comment.