jsii-release 0.2.672 → 0.2.673
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.projenrc.ts +4 -8
- package/package.json +1 -1
- package/package.json.bak +1 -1
package/.projenrc.ts
CHANGED
|
@@ -65,7 +65,7 @@ test?.on({
|
|
|
65
65
|
// github.pull_request.user.login
|
|
66
66
|
// Because we have an 'if/else' condition that is quite annoying to encode with outputs, have a mutable variable by
|
|
67
67
|
// means of a file on disk, export it as an output afterwards.
|
|
68
|
-
test?.addJob('
|
|
68
|
+
test?.addJob('determine_env', {
|
|
69
69
|
permissions: {
|
|
70
70
|
contents: github.workflows.JobPermission.READ,
|
|
71
71
|
},
|
|
@@ -80,12 +80,8 @@ test?.addJob('targetenv', {
|
|
|
80
80
|
run: 'echo IntegTestCredentialsRequireApproval > .envname',
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
name: 'If
|
|
84
|
-
if:
|
|
85
|
-
'github.pull_request.author_association == \'OWNER\'',
|
|
86
|
-
'github.pull_request.author_association == \'MEMBER\'',
|
|
87
|
-
'github.pull_request.user.login == \'cdklabs-automation\'',
|
|
88
|
-
].join(' || '),
|
|
83
|
+
name: 'If not from a fork, do not need approval',
|
|
84
|
+
if: '!github.pull_request.head.repo.fork',
|
|
89
85
|
run: 'echo IntegTestCredentials > .envname',
|
|
90
86
|
},
|
|
91
87
|
{
|
|
@@ -104,7 +100,7 @@ test?.addJob('test', {
|
|
|
104
100
|
idToken: github.workflows.JobPermission.WRITE,
|
|
105
101
|
},
|
|
106
102
|
runsOn: ['ubuntu-latest'],
|
|
107
|
-
needs: ['
|
|
103
|
+
needs: ['determine_env'],
|
|
108
104
|
environment: '${{needs.targetenv.outputs.env_name}}',
|
|
109
105
|
steps: [
|
|
110
106
|
{
|
package/package.json
CHANGED
package/package.json.bak
CHANGED