diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 94e47af18ad..7a0e07b8506 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -11,11 +11,28 @@ concurrency: cancel-in-progress: true jobs: + #skip_checks: + # name: Analyze + # uses: ./.github/workflows/skip_checks.yml + # with: + # runs-on: macos-latest skip_checks: - name: Analyze - uses: ./.github/workflows/skip_checks.yml - with: - runs-on: macos-latest + name: Skip + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Analyze PR + run: | + .github/workflows/scripts/check_diff.sh \ + ${{ github.event.pull_request.head.ref }} \ + ${{ github.event.pull_request.base.ref }} \ + ${{ github.event.pull_request.head.repo.clone_url }} + - name: Debug + run: echo "env.SKIP_CHECKS=${{ env.SKIP_CHECKS }}" + outputs: + skip: ${{ env.SKIP_CHECKS }} build_appleclang: name: AppleClang runs-on: macos-latest @@ -27,7 +44,7 @@ jobs: #CMAKE_GENERATOR: Ninja steps: - name: Debugging - run: echo "SKIP=${{ needs.skip_checks.outputs }}" + run: echo "SKIP=${{ needs.skip_checks.outputs.skip }}" - name: Checkout code uses: actions/checkout@v4 - name: Install Python