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
Run tj-actions/changed-files@v4.2
Getting head sha...
fatal: ambiguous argument 'HEAD^1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Getting diff...
fatal: ambiguous argument 'HEAD^1': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Error: Process completed with exit code 128.
To Reproduce
My template:
- name: Get modified files using defaults
id: changed-files
uses: tj-actions/changed-files@v4.2
Expected behavior
That the system would get a list of changed files
Additional context
using ubuntu-latest
The text was updated successfully, but these errors were encountered:
d'oh - this was because I hadn't included the fetch-depth: 0 in the checkout repo section. You might want to highlight this in the docs, for newbies like me!
Describe the bug
I get the following:
To Reproduce
My template:
Expected behavior
That the system would get a list of changed files
Additional context
using ubuntu-latest
The text was updated successfully, but these errors were encountered: