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 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('targetenv', {
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 maintainer, do not need approval',
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: ['targetenv'],
103
+ needs: ['determine_env'],
108
104
  environment: '${{needs.targetenv.outputs.env_name}}',
109
105
  steps: [
110
106
  {
package/package.json CHANGED
@@ -73,7 +73,7 @@
73
73
  "main": "lib/index.js",
74
74
  "license": "Apache-2.0",
75
75
  "homepage": "https://github.com/cdklabs/publib",
76
- "version": "0.2.672",
76
+ "version": "0.2.673",
77
77
  "jest": {
78
78
  "testMatch": [
79
79
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",
package/package.json.bak CHANGED
@@ -73,7 +73,7 @@
73
73
  "main": "lib/index.js",
74
74
  "license": "Apache-2.0",
75
75
  "homepage": "https://github.com/cdklabs/publib",
76
- "version": "0.2.672",
76
+ "version": "0.2.673",
77
77
  "jest": {
78
78
  "testMatch": [
79
79
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",