mirror of
https://forgejo.stefka.eu/jiriks74/create-pull-request.git
synced 2025-01-18 16:01:06 +01:00
update README.md
This commit is contained in:
parent
aadca79904
commit
2d4e9657d4
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
@ -123,6 +123,20 @@ To use this strategy, set input `branch-suffix` with one of the following option
|
|||
|
||||
- `short-commit-hash` - Commits will be made to a branch suffixed with the short SHA1 commit hash. e.g. `create-pull-request/patch-fcdfb59`, `create-pull-request/patch-394710b`
|
||||
|
||||
### Controlling committed files
|
||||
|
||||
You may control files to added on pull request with argument `add-pattern-array`.
|
||||
It specify `git add` pattern of files. By example:
|
||||
```yml
|
||||
...
|
||||
uses: peter-evans/create-pull-request@main #TODO put next version here
|
||||
with:
|
||||
add-pattern-array: |
|
||||
**.txt
|
||||
**some/dirs**.png
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
```
|
||||
|
||||
### Controlling commits
|
||||
|
||||
As well as relying on the action to handle uncommitted changes, you can additionally make your own commits before the action runs.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue