-
-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is there an existing issue for this?
- I have searched the existing issues
Does this issue exist in the latest version?
- I'm using the latest release
Describe the bug?
any_changed output is false even though a file supplied in files input has been modified.
To Reproduce
These steps have to be defined:
- name: Check whether proto files have changed
id: protos-changed
uses: tj-actions/changed-files@v13
with:
files: |
services.proto
- name: Run if proto file has changed
if: steps.protos-changed.outputs.any_changed == 'true'
run: echo proto files have changed
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Expected behaviour is to output any_changed as true if a file supplied in files input has been modified.
Relevant log output
Getting diff...
Added files:
Copied files:
Deleted files:
Modified files: .github/workflows/build.yaml protobuf/src/main/protobuf/services/v1/services.proto
Renamed files:
Type Changed files:
Unmerged files:
Unknown files:
All changed and modified files: .github/workflows/build.yaml protobuf/src/main/protobuf/services/v1/services.proto
All changed files: .github/workflows/build.yaml protobuf/src/main/protobuf/services/v1/services.proto
All modified files: .github/workflows/deploy.yaml protobuf/src/main/protobuf/services/v1/services.protoAnything else?
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working