Skip to content

Commit ecf7574

Browse files
committed
Add fetch_and_log.yaml
1 parent 26e3ce9 commit ecf7574

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fetch_and_log.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
# WORKFLOW_IDS=$(gh run list --repo $GITHUB_REPOSITORY --limit 100 --json databaseId,status,createdAt --jq '[.[] | select(.createdAt > (now - (1 * 3600))) | .databaseId] | @json')
2929
# LAST_RUN_ID=$(echo $WORKFLOW_IDS | jq '.[-1]')
3030
31-
WORKFLOW_IDS=$(gh run list --limit 100 --json databaseId,createdAt --jq "[.[] | select(.databaseId > $LAST_PROCESSED_ID) | .databaseId] | @json")
31+
WORKFLOW_IDS=$(gh run list --repo $GITHUB_REPOSITORY --limit 100 --json databaseId,createdAt --jq "[.[] | select(.databaseId > $LAST_PROCESSED_ID) | .databaseId] | @json")
3232
LAST_RUN_ID=$(echo $WORKFLOW_IDS | jq '.[-1]') # Store the highest run ID
3333
3434
echo "LAST_RUN_ID=$LAST_RUN_ID" >> $GITHUB_ENV

0 commit comments

Comments
 (0)