Skip to content

Commit

Permalink
remove check_approve_count job in wsl workflow (#2413)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamvduke authored Aug 8, 2023
1 parent 34c700d commit 552b9b1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/wsl_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,10 @@ on:
workflow_dispatch:

jobs:
check_approve_count:
permissions:
pull-requests: read
runs-on: ubuntu-latest
outputs:
approve_count: ${{ steps.reviews.outputs.approved }}
steps:
- name: Check pull request is approved
id: 'reviews'
uses: jrylan/github-action-reviews-counter@main
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'

- name: Print current approve count
run: echo "Current Approve count ${{ steps.reviews.outputs.approved }}"

integration-tests-wsl:
needs: [check_approve_count]
permissions:
actions: write # for styfle/cancel-workflow-action to cancel/stop running workflows
contents: read # for actions/checkout to fetch code
if: 'needs.check_approve_count.outputs.approve_count >= 2'
runs-on: windows-2019
defaults:
run:
Expand Down

0 comments on commit 552b9b1

Please sign in to comment.