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.
1 parent fb3983d commit ed8647aCopy full SHA for ed8647a
.github/workflows/release.yaml
@@ -38,6 +38,16 @@ jobs:
38
name: extension-${{ github.sha }}
39
path: workspace/extension/build/svelte-devtools.zip
40
41
+ - if: github.event_name == 'pull_request'
42
+ env:
43
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44
+ run: |
45
+ id=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts --jq '.artifacts[0].id')
46
+ url=https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/$id
47
+ comment="Try the changes in this PR by [side-loading the built extension]($url). :rocket:"
48
+
49
+ gh pr comment ${{ github.event.pull_request.number }} --edit-last --body "$comment"
50
51
publish:
52
runs-on: ubuntu-latest
53
needs: [manifest, bundle]
0 commit comments