mirror of
https://github.com/docker/metadata-action.git
synced 2026-01-21 05:21:52 +08:00
fix: fallback to author date and current date
Signed-off-by: Trim21 <trim21.me@gmail.com>
This commit is contained in:
parent
359e915ab3
commit
c8b97615be
4 changed files with 14 additions and 4 deletions
|
|
@ -205,5 +205,5 @@ export const context = {
|
|||
};
|
||||
|
||||
export const getOctokit = jest.fn(() => ({
|
||||
request: () => Promise.resolve({data: {committer: {date: '2024-11-13T13:42:28Z'}}})
|
||||
request: () => Promise.resolve({data: {commit: {committer: {date: '2024-11-13T13:42:28Z'}}}})
|
||||
}));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue