trilom / file-changes-action

This action can be added, and you will get outputs of all of the files that have changed in your repository for you to use.
MIT License
167 stars 48 forks source link

Error: There was an issue sorting changed files from Github #100

Closed cboulanger closed 4 years ago

cboulanger commented 4 years ago

Describe the bug A clear and concise description of what the bug is. I am getting this error:

Run trilom/file-changes-action@v1.2.3
  with:
    githubToken: ***
    output: json
    fileOutput: json
(node:2491) UnhandledPromiseRejectionWarning: Error: {"error":"500/TypeError","from":"sortChangedFiles","message":"There was an issue sorting files changed.","payload":"{}"}
    at run (/home/runner/work/_actions/trilom/file-changes-action/v1.2.3/dist/index.js:1:19989)

See https://github.com/qooxdoo/documentation/runs/731107827#step:3:1

Workflow See https://github.com/qooxdoo/documentation/actions/runs/122603076/workflow

aszenz commented 4 years ago

We are seeing the same issue with PR's that have file renames

trilom commented 4 years ago

Hey guys, sorry for the delay on this it slipped my notifications!

Please take a look at the version and try to use v1.2.4 or master. Part of my CI was/is supposed to change the version in the readme but isn’t functioning.

For completeness, after a release is done on a release branch it is merged to the master so master will always be current with latest release so it’s safe.

yo1995 commented 4 years ago

@trilom Thanks for this clarification! Would you also update the v1.2.3 in README to reflect this change?