Skip to content

Commit

Permalink
Merge branch 'release/v0.9.1' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Jan 22, 2021
2 parents c5f7442 + a7451f9 commit 8874635
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 11 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.1] - 2021-01-22

### Fixed

- fix(ghes): Corrects preview option #482 @mcaulifn @samuelb

## [0.9.0] - 2021-01-21

### Added
Expand Down Expand Up @@ -139,7 +145,8 @@ terraform import module.runners.module.webhook.aws_cloudwatch_log_group.webhook

- First release.

[unreleased]: https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.9.0..HEAD
[unreleased]: https://github.com/philips-labs/terraform-aws-github-runner/compare/v0.9.1..HEAD
[0.9.1]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.9.0..v0.9.1
[0.9.0]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.8.1..v0.9.0
[0.8.1]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.9.0..v0.8.1
[0.8.0]: https://github.com/philips-labs/terraform-aws-github-runner/releases/tag/v0.7.0..v0.9.0
Expand Down
6 changes: 3 additions & 3 deletions examples/default/lambdas-download/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ module "lambdas" {
lambdas = [
{
name = "webhook"
tag = "v0.9.0"
tag = "v0.9.1"
},
{
name = "runners"
tag = "v0.9.0"
tag = "v0.9.1"
},
{
name = "runner-binaries-syncer"
tag = "v0.9.0"
tag = "v0.9.1"
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions examples/permissions-boundary/lambdas-download/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ module "lambdas" {
lambdas = [
{
name = "webhook"
tag = "v0.9.0"
tag = "v0.9.1"
},
{
name = "runners"
tag = "v0.9.0"
tag = "v0.9.1"
},
{
name = "runner-binaries-syncer"
tag = "v0.9.0"
tag = "v0.9.1"
}
]
}
Expand Down
6 changes: 3 additions & 3 deletions modules/download-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ module "lambdas" {
lambdas = [
{
name = "webhook"
tag = "v0.9.0"
tag = "v0.9.1"
},
{
name = "runners"
tag = "v0.9.0"
tag = "v0.9.1"
},
{
name = "runner-binaries-syncer"
tag = "v0.9.0"
tag = "v0.9.1"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('Test createGithubAuth', () => {

// Assert
expect(result.request.endpoint.DEFAULTS.baseUrl).toBe(enterpriseServer);
expect(result.request.endpoint.DEFAULTS.mediaType.previews).toStrictEqual(['antiope']);
});
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export async function createOctoClient(token: string, ghesApiUrl: string = ''):
};
if (ghesApiUrl) {
ocktokitOptions.baseUrl = ghesApiUrl;
ocktokitOptions.previews = ['antiope'];
}
return new Octokit(ocktokitOptions);
}
Expand Down Expand Up @@ -51,7 +52,6 @@ export async function createGithubAuth(
if (ghesApiUrl) {
authOptions.request = request.defaults({
baseUrl: ghesApiUrl,
mediaType: { previews: ['antiope'] }
});
}
return await createAppAuth(authOptions)({ type: authType });
Expand Down

0 comments on commit 8874635

Please sign in to comment.