Disabling iOS 26 run for now #13
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Pull Request | |
| on: | |
| pull_request_target: | |
| branches: [dev, master] | |
| jobs: | |
| permission-check: | |
| runs-on: macos-15 | |
| env: | |
| BUNDLE_GEMFILE: ${{ github.workspace }}/.github/DangerFiles/Gemfile | |
| steps: | |
| - name: Check Write Permission | |
| uses: octokit/[email protected] | |
| id: check_permissions | |
| with: | |
| route: GET /repos/${{ github.repository }}/collaborators/${{ github.triggering_actor }}/permission | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Debug Permission Response | |
| run: | | |
| echo "Permission raw response: ${{ steps.check_permissions.outputs.data }}" | |
| - name: Validate Write Permission | |
| run: | | |
| permission=$(echo "${{ fromJson(steps.check_permissions.outputs.data).permission }}") | |
| echo "User ${{ github.triggering_actor }} has permission: $permission" | |
| if [[ "$permission" != "write" && "$permission" != "admin" ]]; then | |
| echo "User ${{ github.triggering_actor }} does not have sufficient permission (write or admin) to proceed. Someone from the team needs to rerun this workflow AFTER it has been deemed safe." | |
| exit 1 | |
| fi | |
| ios-pr: | |
| needs: [permission-check] | |
| strategy: | |
| matrix: | |
| include: | |
| - macos: macos-15 | |
| ios: ^18 | |
| xcode: ^16 | |
| # - macos: macos-15 | |
| # ios: ^26 | |
| # xcode: ^26 | |
| # Note: iOS 26 simulator is not yet available on GitHub runners | |
| uses: ./.github/workflows/reusable-workflow.yaml | |
| with: | |
| is_pr: true | |
| macos: ${{ matrix.macos }} | |
| ios: ${{ matrix.ios }} | |
| xcode: ${{ matrix.xcode }} | |
| secrets: inherit |