You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a workflow which uses this action (version 1.2.3, since version 1.2.4 doesn't work for me, see Issue #102).
My workflow triggers on both push and pull_request. However, the push triggered workflow run always fails, while the pull_request triggered workflow run works correctly. It runs the same exact workflow for both triggers, however the file-changes-action step fails when running the push trigger. I have attached the logs.
@irasnyd - I see the exact same error here for push when a branch is pushed the first time. In that case there is no previous sha to compare to and it defaults to 0000...., which causes the error we are seeing.
prcr
pushed a commit
to codacy/docs
that referenced
this issue
Oct 6, 2020
Describe the bug
I have a workflow which uses this action (version 1.2.3, since version 1.2.4 doesn't work for me, see Issue #102).
My workflow triggers on both
push
andpull_request
. However, thepush
triggered workflow run always fails, while thepull_request
triggered workflow run works correctly. It runs the same exact workflow for both triggers, however thefile-changes-action
step fails when running thepush
trigger. I have attached the logs.Workflow
See attached syntaxcheck.zip
Expected behavior
The
file-changes-action
should work forpush
triggered workflows.Additional context
Here are the logs from a "push + pull_request" triggered run.
Thank you for this project! When it works, it works great! I really appreciate you making it available for us to use.
The text was updated successfully, but these errors were encountered: