File tree Expand file tree Collapse file tree 5 files changed +16310
-5948
lines changed Expand file tree Collapse file tree 5 files changed +16310
-5948
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : Release
2
+ on :
3
+ push :
4
+ branches :
5
+ - ' *.x'
6
+ - master
7
+ - beta
8
+ - alpha
9
+
10
+ permissions :
11
+ contents : read # for checkout
12
+
13
+ jobs :
14
+ release :
15
+ name : Release
16
+ runs-on : ubuntu-latest
17
+ permissions :
18
+ contents : write # to be able to publish a GitHub release
19
+ issues : write # to be able to comment on released issues
20
+ pull-requests : write # to be able to comment on released pull requests
21
+ id-token : write # to enable use of OIDC for npm provenance
22
+ steps :
23
+ - name : Checkout
24
+ uses : actions/checkout@v3
25
+ with :
26
+ fetch-depth : 0
27
+ - name : Import scriptbot's GPG key for signing commits
28
+ id : import-gpg
29
+ uses : crazy-max/ghaction-import-gpg@v6
30
+ with :
31
+ gpg_private_key : ${{ secrets.BOT_GPG_PRIVATE_KEY }}
32
+ passphrase : ${{ secrets.BOT_GPG_PASSPHRASE }}
33
+ git_config_global : true
34
+ git_user_signingkey : true
35
+ git_commit_gpgsign : true
36
+ - name : Setup Node.js
37
+ uses : actions/setup-node@v3
38
+ with :
39
+ node-version : " lts/*"
40
+ - name : Install dependencies
41
+ run : npm clean-install
42
+ - name : Verify the integrity of provenance attestations and registry signatures for installed dependencies
43
+ run : npm audit signatures
44
+ - name : Release
45
+ env :
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
47
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
48
+ GIT_AUTHOR_NAME : ${{ vars.RELEASE_GIT_NAME }}
49
+ GIT_AUTHOR_EMAIL : ${{ secrets.RELEASE_GIT_EMAIL }}
50
+ GIT_COMMITTER_NAME : ${{ vars.RELEASE_GIT_NAME }}
51
+ GIT_COMMITTER_EMAIL : ${{ secrets.RELEASE_GIT_EMAIL }}
52
+ run : npx semantic-release
You can’t perform that action at this time.
0 commit comments