GitHub Action
PR ls-files action
v0.1.2
Latest version
This extension or action gets a list of added/deleted/modfied files in a pull request without checkout.
gh extension install "srz-zumix/gh-pr-ls-files"
gh pr-ls-files -h
gh pr-ls-files <pr number|url|branch>
list files in the pull request
-a, --added show added files in the output
-d, --deleted show deleted files in the output
-m, --modified show modified files in the output
- uses: srz-zumix/gh-pr-ls-files@v0
with:
deleted: false
pull request number|url|branch. Default: github.event.pull_request.html_url
show added files in the output. Default: true
show deleted files in the output. Default: true
show modified files in the output. Default: true
show files with the specified grep filter in the output.
e.g. ".*(\.ino|\.cpp|\.c|\.h|\.hpp|\.hh)$"
delimiter for the output.
GitHub TOKEN. Default: github.token
files in the pull request.
count of files in the pull request.