gitignore-in/gitignore-in

Run gitignore-in command and if .gitignore is updated, generate pull request.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
branch_nameBranch name to create pull request. Default: gitignore-in nogitignore-in
base_branchBase branch name to create pull request. Leave empty to use the repository's default branch. no""
commit_messageCommit message for the .gitignore update. Default: Update .gitignore by gitignore.in noUpdate .gitignore by gitignore.in
pr_titlePull request title. Default: Update .gitignore noUpdate .gitignore
pr_bodyPull request body. Default: Update .gitignore by gitignore.in noUpdate .gitignore by gitignore.in
delete_branchWhether to delete the branch after the pull request is merged. Default: true notrue
boilerplates_refOptional git ref (branch, tag, or full SHA) for the gitignore boilerplates database (github.com/toptal/gitignore). When set, the boilerplates database is checked out at this ref after the update, making .gitignore generation reproducible across runs and recording that pinned commit SHA in generated pull request bodies. Leave empty to use the latest commit (default behaviour, non-deterministic); the action warns when this input is omitted. no""
gitignore-versionVersion of the gitignore-in binary to download (e.g. v0.2.1). Defaults to the version bundled with this action release. This input selects the release artifact only; checksum policy is controlled separately by allow-unverified-gitignore-version. nov0.2.1
allow-unverified-gitignore-versionAllow a custom gitignore-version without SHA-256 verification. Leave false to reject unverified custom versions and keep the bundled release checksum-verified. nofalse
timeout_secondsPositive timeout in seconds for the gitignore.in generation step. Lower this value for fail-fast workflows or raise it for slow runners. Default: 300 no300
namedescription
pull-request-numberPull request number.
pull-request-urlPull request URL.
pull-request-operationThe pull request operation performed by the action, `created`, `updated` or `closed`.
pull-request-head-shaThe SHA of the head commit of the pull request.
boilerplates-refThe git commit SHA of the gitignore boilerplates database (github.com/toptal/gitignore) used when generating .gitignore. Empty string if the boilerplates directory was not available.