Skip to content

Commit

Permalink
Adding hardcoded value to test
Browse files Browse the repository at this point in the history
  • Loading branch information
amankumarrr committed Aug 14, 2023
1 parent 8c09986 commit 2b98eb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-active-prs-and-slots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,14 @@ jobs:
id: prList
run: |
$active_prs=$(gh pr list --state open | awk '{print $1}')
echo $active_prs
echo "active_prs=$active_prs" >> $env:GITHUB_OUTPUT
- name: Compare PRs with Slots
id: comparision
run: |
# Comparing the number of Slots and PRs
$PRList = "${{ steps.PRList.outputs.active_prs }}" -split ' '
$SlotList = "${{ steps.slotList.outputs.slots }}" -split ' '
$SlotList = "1219 1217 1211 1200 1165 1001" -split ' '
$slotsExistThatRequireDeletion = $SlotList | Where-Object { $_ -notin $PRList }
# $slotsExistThatRequireDeletion ='111 112'
Expand Down

0 comments on commit 2b98eb1

Please sign in to comment.