Skip to content

Commit

Permalink
Support excluding paths from files to check
Browse files Browse the repository at this point in the history
  • Loading branch information
wktk committed Apr 5, 2020
1 parent efc9719 commit 0af5bf5
Show file tree
Hide file tree
Showing 6 changed files with 1,402 additions and 11 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,16 @@ jobs:
uses: wktk/conflibot@v0.1.0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
exclude: |
yarn.lock
**/*.bin
```
### Inputs
- `github-token` *required*: GitHub API token with write access to the repo
- `exclude`: Ignored path patterns in **newline-separated** glob format

## Screenshots

![](./misc/checks.png)
Expand Down
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ description: Check and warn if a Pull Request will conflict with another Pull Re
author: "@wktk"
inputs:
github-token:
description: "GitHub API token"
description: GitHub API token with write access to the repo
required: true
exclude:
description: Ignored path patterns in newline-separated glob format
runs:
using: 'node12'
main: 'dist/index.js'
Expand Down
Loading

0 comments on commit 0af5bf5

Please sign in to comment.