Skip to content

Commit b2258fb

Browse files
authored
Add QR code to github action (#8948)
1 parent 0bda727 commit b2258fb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/pull-request-comment.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ jobs:
8484
repo: context.repo.repo,
8585
pull_number: ${{ github.event.issue.number }}
8686
});
87-
87+
8888
console.log(`PR HEAD SHA: ${pr.data.head.sha}`);
8989
console.log(`PR HEAD REF: ${pr.data.head.ref}`);
90-
90+
9191
core.setOutput('head-sha', pr.data.head.sha);
9292
core.setOutput('head-ref', pr.data.head.ref);
9393
@@ -188,12 +188,14 @@ jobs:
188188
header: pull-request-eas-build-${{ steps.pr-info.outputs.head-sha }}
189189
number: ${{ github.event.issue.number }}
190190
message: |
191-
Your requested OTA deployment was successful! You may now apply it by opening the deep link below in your browser:
191+
Your requested OTA deployment was successful! You may now apply it by either scanning the QR code or opening the deep link below in your browser:
192+
193+
<img src="https://bsky-qr.vercel.app?channel=pull-request-${{ github.event.issue.number }}" width=300 height=300>
192194
193195
`bluesky://intent/apply-ota?channel=pull-request-${{ github.event.issue.number }}`
194196
---
195-
*Generated by [PR labeler](https://github.com/expo/expo/actions/workflows/pr-labeler.yml) 🤖*
196197
198+
*Generated by [PR labeler](https://github.com/expo/expo/actions/workflows/pr-labeler.yml) 🤖*
197199
198200
- name: 💬 Drop a comment
199201
uses: marocchino/sticky-pull-request-comment@v2

0 commit comments

Comments
 (0)