Skip to content

Diff Checker Action

Actions

About

Takes a list of paths to check and outputs if they have changes
v1.0.2
Latest
Star (1)

Diff Checker Action

Takes a list of paths to check and outputs if they have changes.

Inputs

diff

Newline separated list of key:value pairs where the key is a name used in the output and the value is a regex string path to check if files have changed against.

Outputs

${key}

For each key in the diff input, there will be an output with that name. The value will be a stringified boolean to show whether there have been changes in that path or not.

Example usage

- uses: whutchinson98/diff-checker-action@v1.0.2
  with:
    token: ${{ GITHUB.TOKEN }}
    diff: |
      all: ./*
      foo: ./other/path/* ./test/path/*.foo
      bar: src/index.ts
      baz: ./src/random_file.ts

Diff Checker Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Takes a list of paths to check and outputs if they have changes
v1.0.2
Latest

Diff Checker Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.