Skip to content

Nightly will run on iOS 17 (Xcode 15) / iOS 18 (Xcode 16 and 26) / iOS 26 (Xcode 26) #12

Nightly will run on iOS 17 (Xcode 15) / iOS 18 (Xcode 16 and 26) / iOS 26 (Xcode 26)

Nightly will run on iOS 17 (Xcode 15) / iOS 18 (Xcode 16 and 26) / iOS 26 (Xcode 26) #12

Workflow file for this run

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
uses: ./.github/workflows/reusable-workflow.yaml
with:
is_pr: true
macos: ${{ matrix.macos }}
ios: ${{ matrix.ios }}
xcode: ${{ matrix.xcode }}
secrets: inherit