Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

umani/modified-bazel-targets

Repository files navigation

Modified Bazel Targets Action

Build

This GitHub action applies to pull requests and populates an output variable with the set of Bazel targets that have changed (including dependencies), based on the set of files that have been changed.

It needs to be executed after the actions/checkout action, as it needs to operate on the repository.

Workflow Config Example

- name: Changed Files Exporter
  uses: umani/modified-bazel-targets@v2
  with:
    changed_files: "file1.go path/to/file2.go"

Inputs

  • changed_files: The set of changed files as a whitespace separated list.
  • bazel_exec: How to invoke the Bazel command; defaults to bazel.

Outputs

  • bazel_targets: A whitespace separated list of the affected Bazel targets.

Release new version

To release a new version of this action, do:

yarn build && yarn run pack
git add dist
git commit -a -m "release: {version}"
git push origin releases/{version}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published