File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed
Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Snapit with provenance
2+
3+ on :
4+ issue_comment :
5+ types :
6+ - created
7+
8+ jobs :
9+ snapit :
10+ name : Snapit
11+ if : ${{ github.event.issue.pull_request && github.event.comment.body == '/snapit' }}
12+ runs-on : ubuntu-latest
13+ permissions :
14+ contents : write
15+ pull-requests : write
16+ id-token : write
17+ steps :
18+ # This action can be executed by users with write permission to this repo
19+ - name : Checkout current branch
20+ uses : actions/checkout@v4
21+
22+ - name : Force snapshot changeset
23+ run : |
24+ printf -- "---\n'shopify-buy': patch\n'"
25+
26+ - name : Create snapshot version
27+ uses : Shopify/snapit@0c0d2dd62c9b0c94b7d03e1f54e72f18548e7752 # pin to a specific commit
28+ with :
29+ github_comment_included_packages : ' shopify-buy'
30+ build_script : ' npm run build'
31+ env :
32+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
33+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
34+ NPM_CONFIG_PROVENANCE : true
You can’t perform that action at this time.
0 commit comments