Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⚙️ Chore: Update build-example-ios-for-pr Workflow
Browse files Browse the repository at this point in the history
dominicstop committed Dec 6, 2024
1 parent af664ae commit b9e7530
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build-example-ios-for-pr.yml
Original file line number Diff line number Diff line change
@@ -17,6 +17,15 @@ jobs:
- name: Cancel previous runs
uses: styfle/[email protected]

- name: Checkout Pull Request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
PR_URL="${{ github.event.issue.pull_request.url }}"
PR_NUM=${PR_URL##*/}
echo "Checking out from PR #$PR_NUM based on URL: $PR_URL"
hub pr checkout $PR_NUM
- name: Get branch of PR
uses: xt0rted/pull-request-comment-branch@v3
id: comment-branch

0 comments on commit b9e7530

Please sign in to comment.