Skip to content

Commit

Permalink
Merge pull request #5 from planetscale/joemiller-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller authored Apr 12, 2023
2 parents 7f36163 + 56f539d commit 4d81bb7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ jobs:
with:
commit_message: "🤖 fmt"
repo: ${{ github.repository }}
branch: ${{ github.head_ref }}
branch: ${{ github.head_ref || github.ref_name }}
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
```
> NOTE: These examples may not show the latest version. Check the [GitHub Releases](https://github.com/planetscale/ghcommit-action/releases) page to see the latest version tag
Expand All @@ -59,8 +61,10 @@ Example showing all options:
with:
commit_message: "🤖 fmt"
repo: ${{ github.repository }}
branch: ${{ github.head_ref }}
branch: ${{ github.head_ref || github.ref_name }}
file_pattern: '*.txt *.md *.json *.hcl'
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
```
See [`action.yaml`](./action.yaml) for current list of supported inputs.
Expand Down

0 comments on commit 4d81bb7

Please sign in to comment.