This directory contains examples of how to use the buf GitHub Action.
-
buf-ci.yaml: Recommended configuration for using
bufin a CI environment. -
only-checks/buf-ci.yaml: How to use
bufto only run checks on pull requests. -
only-setup/buf-ci.yaml: How to use
bufto only installbuf. -
only-setup-defaults/buf-ci.yaml: Showcases the default steps of the
bufaction. -
only-sync/buf-ci.yaml: How to use
bufto only sync the repository labels. -
push-on-changes/buf-ci.yaml: Pushes changes only on detecting protobuf file changes.
-
skip-on-commits/buf-ci.yaml: How to use commit messages to skip
bufchecks on push. -
skip-on-labels/buf-ci.yaml: How to use custom labels to skip
bufchecks on pull requests. -
validate-push/buf-ci.yaml: Validate checks before pushing to the repository.
-
version-env/buf-ci.yaml: Resolve the
bufversion from an environment variable (BUF_VERSION). -
version-input/buf-ci.yaml: Resolve the
bufversion from an action input (version). -
version-latest/buf-ci.yaml: Use the latest
bufversion.