This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch pr-comment-fix in repository https://gitbox.apache.org/repos/asf/camel.git
commit f5f98f77dcdf4e4b8dbc5ef3515d1612561163b9 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Mon Jun 9 13:27:38 2025 +0200 Use .head.repo.pushed_at in pr-comment workflow instead of .pushed_at --- .github/workflows/pr-comment.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml index b72af9fc6fa..c2334f7e298 100644 --- a/.github/workflows/pr-comment.yml +++ b/.github/workflows/pr-comment.yml @@ -51,7 +51,7 @@ jobs: run: | pr="$(gh api /repos/${GH_REPO}/pulls/${PR_NUMBER})" head_sha="$(echo "$pr" | jq -r .head.sha)" - pushed_at="$(echo "$pr" | jq -r .pushed_at)" + pushed_at="$(echo "$pr" | jq -r .head.repo.pushed_at)" if [[ $(date -d "$pushed_at" +%s) -gt $(date -d "$COMMENT_AT" +%s) ]]; then exit 1 fi