Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Jan 4, 2024
1 parent f5380a6 commit 2148f66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/automated-prs-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ jobs:
# list dependabot and automated prs that are less than 24h old
dependabot_prs=$(gh pr list --label dependabot --json url,headRefName,createdAt -q '.[] | select(.createdAt | fromdateiso8601 > now - 86400)')
automated_prs=$(gh pr list --label automated-pr --json url,headRefName,createdAt -q '.[] | select(.createdAt | fromdateiso8601 > now - 86400)')
prs=$(echo "$dependabot_prs" "$automated_prs" | jq -s '. | unique')
# dependabot_prs=$(gh pr list --label dependabot --json url,headRefName,createdAt -q '.[] | select(.createdAt | fromdateiso8601 > now - 86400)')
# automated_prs=$(gh pr list --label automated-pr --json url,headRefName,createdAt -q '.[] | select(.createdAt | fromdateiso8601 > now - 86400)')
# prs=$(echo "$dependabot_prs" "$automated_prs" | jq -s '. | unique')
echo "prs=$prs" >> "$GITHUB_OUTPUT"
echo "prs=$(gh pr list --label dependabot --json url,headRefName,createdAt -q '.[] | select(.createdAt | fromdateiso8601 > now - 86400)')" >> "$GITHUB_OUTPUT"
process-prs:
needs: list-prs
Expand Down

0 comments on commit 2148f66

Please sign in to comment.