We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26e3ce9 commit ecf7574Copy full SHA for ecf7574
.github/workflows/fetch_and_log.yaml
@@ -28,7 +28,7 @@ jobs:
28
# WORKFLOW_IDS=$(gh run list --repo $GITHUB_REPOSITORY --limit 100 --json databaseId,status,createdAt --jq '[.[] | select(.createdAt > (now - (1 * 3600))) | .databaseId] | @json')
29
# LAST_RUN_ID=$(echo $WORKFLOW_IDS | jq '.[-1]')
30
31
- WORKFLOW_IDS=$(gh run list --limit 100 --json databaseId,createdAt --jq "[.[] | select(.databaseId > $LAST_PROCESSED_ID) | .databaseId] | @json")
+ WORKFLOW_IDS=$(gh run list --repo $GITHUB_REPOSITORY --limit 100 --json databaseId,createdAt --jq "[.[] | select(.databaseId > $LAST_PROCESSED_ID) | .databaseId] | @json")
32
LAST_RUN_ID=$(echo $WORKFLOW_IDS | jq '.[-1]') # Store the highest run ID
33
34
echo "LAST_RUN_ID=$LAST_RUN_ID" >> $GITHUB_ENV
0 commit comments