Skip to content

Commit

Permalink
fix cleanup step
Browse files Browse the repository at this point in the history
  • Loading branch information
sqin2019 committed Jul 19, 2023
1 parent d2d62a9 commit 14ce94b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/iam_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
ls requests .
for file in $(ls ./requests); do
current_time=$(date +%s)
mergeTime=$(git log -1 --format=%ct ./requests${file})
mergeTime=$(git log -1 --format=%ct ./requests/${file})
# duration=$(awk -F_ '{print $2}' <<< ${file})
# expiry=$(date -u -d "${mergeTime} ${duration}" --rfc-3339=seconds)
if [[ ${current_time} -gt ${mergeTime} ]]; then
Expand Down

0 comments on commit 14ce94b

Please sign in to comment.