Skip to content

Commit 8874635

Browse files
committed
Merge branch 'release/v0.9.1' into master
2 parents c5f7442 + a7451f9 commit 8874635

File tree

6 files changed

+19
-11
lines changed

6 files changed

+19
-11
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.9.1] - 2021-01-22
11+
12+
### Fixed
13+
14+
- fix(ghes): Corrects preview option #482 @mcaulifn @samuelb
15+
1016
## [0.9.0] - 2021-01-21
1117

1218
### Added
@@ -139,7 +145,8 @@ terraform import module.runners.module.webhook.aws_cloudwatch_log_group.webhook
139145

140146
- First release.
141147

142-
[unreleased]: https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.9.0..HEAD
148+
[unreleased]: https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.9.1..HEAD
149+
[0.9.1]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.9.0..v0.9.1
143150
[0.9.0]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.8.1..v0.9.0
144151
[0.8.1]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.9.0..v0.8.1
145152
[0.8.0]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.7.0..v0.9.0

examples/default/lambdas-download/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ module "lambdas" {
33
lambdas = [
44
{
55
name = "webhook"
6-
tag = "v0.9.0"
6+
tag = "v0.9.1"
77
},
88
{
99
name = "runners"
10-
tag = "v0.9.0"
10+
tag = "v0.9.1"
1111
},
1212
{
1313
name = "runner-binaries-syncer"
14-
tag = "v0.9.0"
14+
tag = "v0.9.1"
1515
}
1616
]
1717
}

examples/permissions-boundary/lambdas-download/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ module "lambdas" {
33
lambdas = [
44
{
55
name = "webhook"
6-
tag = "v0.9.0"
6+
tag = "v0.9.1"
77
},
88
{
99
name = "runners"
10-
tag = "v0.9.0"
10+
tag = "v0.9.1"
1111
},
1212
{
1313
name = "runner-binaries-syncer"
14-
tag = "v0.9.0"
14+
tag = "v0.9.1"
1515
}
1616
]
1717
}

modules/download-lambda/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ module "lambdas" {
1010
lambdas = [
1111
{
1212
name = "webhook"
13-
tag = "v0.9.0"
13+
tag = "v0.9.1"
1414
},
1515
{
1616
name = "runners"
17-
tag = "v0.9.0"
17+
tag = "v0.9.1"
1818
},
1919
{
2020
name = "runner-binaries-syncer"
21-
tag = "v0.9.0"
21+
tag = "v0.9.1"
2222
}
2323
]
2424
}

modules/runners/lambdas/runners/src/scale-runners/gh-auth.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ describe('Test createGithubAuth', () => {
4141

4242
// Assert
4343
expect(result.request.endpoint.DEFAULTS.baseUrl).toBe(enterpriseServer);
44+
expect(result.request.endpoint.DEFAULTS.mediaType.previews).toStrictEqual(['antiope']);
4445
});
4546
});
4647

modules/runners/lambdas/runners/src/scale-runners/gh-auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export async function createOctoClient(token: string, ghesApiUrl: string = ''):
1111
};
1212
if (ghesApiUrl) {
1313
ocktokitOptions.baseUrl = ghesApiUrl;
14+
ocktokitOptions.previews = ['antiope'];
1415
}
1516
return new Octokit(ocktokitOptions);
1617
}
@@ -51,7 +52,6 @@ export async function createGithubAuth(
5152
if (ghesApiUrl) {
5253
authOptions.request = request.defaults({
5354
baseUrl: ghesApiUrl,
54-
mediaType: { previews: ['antiope'] }
5555
});
5656
}
5757
return await createAppAuth(authOptions)({ type: authType });

0 commit comments

Comments
 (0)