Open BrightRan opened 4 years ago
We use this action at the company I work for extensively. We have never encountered that error. I'm not sure how it could be caused by this action.
We are getting the same error and resulting from it, the workflow fails with /home/runner/files_modified.json: No such file or directory
. A possible source of the error was brought up in actions/virtual-environments#1703 where @maxim-lobanov wrote:
I believe it is an issue with third-party action that you use
gh-action-get-changed-files
. On the quick look, it does N requests to server on every push to your PR where N is number of commits in your PR: https://github.com/lots0logs/gh-action-get-changed-files/blob/002a3dec1083f13f4e1853c5c1dc26526ac185bc/index.js#L29. It means that for kaisun2000/helix#1, for every push, this action does 541 requests to server and I don't see any delays between them. I don't know the rate limits for GH system token but it looks like a huge number of requests
Edit: It's consistently happening for a PR with 200 commits, but for another one with 113 commits the error did not re-appear after clicking on "Re-run jobs".
Associated GitHub Community ticket: https://github.community/t/abuse-detection-mechanism-prevent-running-test/134996
When using this action in the workflow, the action failed with the following error (see here):