File tree Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Expand file tree Collapse file tree 2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,14 @@ permissions: write-all
9
9
jobs :
10
10
dependencies :
11
11
uses : ./.github/workflows/shared-changesets-dependencies.yml
12
+ with :
13
+
14
+ gitUserName : pinax-bot
12
15
if : ${{ github.event.pull_request.title != 'Upcoming Release Changes' }}
13
16
secrets :
14
- githubToken : ${{ secrets.GITHUB_TOKEN }}
17
+ githubToken : ${{ secrets.PINAX_BOT_GITHUB_TOKEN }}
18
+ pgpPrivateKey : ${{ secrets.PINAX_BOT_PGP_PRIVATE_KEY }}
19
+ pgpPassphrase : ${{ secrets.PINAX_BOT_PGP_PASSPHRASE }}
15
20
16
21
alpha :
17
22
uses : ./.github/workflows/shared-release-snapshot.yml
Original file line number Diff line number Diff line change 23
23
required : false
24
24
type : string
25
25
default : ' 20'
26
+ gitUserEmail :
27
+ required : false
28
+ type : string
29
+ default : ' '
30
+ gitUserName :
31
+ required : false
32
+ type : string
33
+ default : ' '
26
34
secrets :
27
35
githubToken :
28
36
required : true
37
+ pgpPrivateKey :
38
+ required : true
39
+ pgpPassphrase :
40
+ required : true
29
41
30
42
jobs :
31
43
changeset :
38
50
fetch-depth : 0
39
51
token : ${{ secrets.githubToken }}
40
52
53
+ - name : Import bot's GPG key for signing commits
54
+ id : import-gpg
55
+ uses : crazy-max/ghaction-import-gpg@v4
56
+ with :
57
+ gpg_private_key : ${{ secrets.pgpPrivateKey }}
58
+ passphrase : ${{ secrets.pgpPassphrase }}
59
+ git_config_global : true
60
+ git_user_signingkey : true
61
+ git_commit_gpgsign : true
62
+
41
63
- uses : ./.github/actions/setup-node
42
64
name : setup env and install dependencies
43
65
if : ${{ inputs.installDependencies }}
47
69
packageManagerVersion : ${{ inputs.packageManagerVersion }}
48
70
49
71
- name : Create/Update Changesets
50
- uses : pinax-network/changesets-dependencies-action@v1.2.2
72
+ uses : pinax-network/changesets-dependencies-action@v1.3.0
51
73
with :
52
74
preCommit : ${{ inputs.preCommit }}
75
+ gitUserEmail : ${{ inputs.gitUserEmail }}
76
+ gitUserName : ${{ inputs.gitUserName }}
53
77
env :
54
78
GITHUB_TOKEN : ${{ secrets.githubToken }}
You can’t perform that action at this time.
0 commit comments