We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build-example-ios-for-pr
1 parent af664ae commit 8e044aaCopy full SHA for 8e044aa
.github/workflows/build-example-ios-for-pr.yml
@@ -17,6 +17,15 @@ jobs:
17
- name: Cancel previous runs
18
uses: styfle/cancel-workflow-action@0.9.1
19
20
+ - name: Checkout Pull Request
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23
+ run: |
24
+ PR_URL="${{ github.event.issue.pull_request.url }}"
25
+ PR_NUM=${PR_URL##*/}
26
+ echo "Checking out from PR #$PR_NUM based on URL: $PR_URL"
27
+ hub pr checkout $PR_NUM
28
+
29
- name: Get branch of PR
30
uses: xt0rted/pull-request-comment-branch@v3
31
id: comment-branch
0 commit comments