Skip to content

Commit

Permalink
fix: empty commit for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Forattini committed Aug 2, 2022
1 parent c707810 commit 2581168
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/config-scrapper/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .github/actions/config-scrapper/index.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/actions/config-scrapper/src/git.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ module.exports = async (analysis) => {
analysis.outputs.commiter_email = analysis.commiter.email
analysis.outputs.commiter_username = analysis.commiter.username

analysis.outputs.executed_at = dayjs(github.context.payload.head_commit.timestamp)
analysis.outputs.executed_at = dayjs(github.context.payload.head_commit.timestamp).toISOString()
}

if (github.context.payload.deployment) {
analysis.outputs.executed_at = dayjs(github.context.payload.deployment.updated_at)
analysis.outputs.executed_at = dayjs(github.context.payload.deployment.updated_at).toISOString()
}
}

0 comments on commit 2581168

Please sign in to comment.