We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab1a238 commit fb1166aCopy full SHA for fb1166a
1 file changed
.github/workflows/fetch_and_log.yaml
@@ -24,7 +24,7 @@ jobs:
24
- name: Fetch Unprocessed Workflow Runs
25
id: fetch-unprocessed-run-ids
26
run: |
27
- WORKFLOW_IDS=$(gh run list --repo $GITHUB_REPOSITORY --limit 100 --json databaseId,createdAt --jq "[.[] | select(.databaseId > $LAST_PROCESSED_RUN_ID) | .databaseId] | @json")
+ WORKFLOW_IDS=$(gh run list --repo $GITHUB_REPOSITORY --limit 100 --json databaseId,createdAt,displayTitle --jq "[.[] | select(.databaseId > $LAST_PROCESSED_RUN_ID and .displayTitle != \"Fetch and Log Workflow Runs\") | .databaseId] | @json")
28
LAST_RUN_ID=$(echo $WORKFLOW_IDS | jq '.[-1]') # Store the highest run ID
29
30
0 commit comments