Skip to content

Commit

Permalink
⚙️ Chore: Update build-example-ios-for-pr Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicstop committed Dec 6, 2024
1 parent af664ae commit 8e044aa
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
Expand Up @@ -17,6 +17,15 @@ jobs:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.9.1

- 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
Expand Down

0 comments on commit 8e044aa

Please sign in to comment.