Skip to content

Commit

Permalink
post commit sha
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed Feb 18, 2022
1 parent 54deafa commit 30bf294
Show file tree
Hide file tree
Showing 8 changed files with 316 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .openapis
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
# This file is *safe* to add to source control and will increase the speed of builds
---
- serviceName: github-sls-rest-api
version: 1.0.38-8
version: 1.0.51-0

316 changes: 308 additions & 8 deletions api/github-sls-rest-api/api.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion api/github-sls-rest-api/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* github-sls-rest-api
* To generate a JWT token, go to the <a href=\"https://sso.saml.to/auth/jwt.html\" target=\"_blank\">JWT Token Generator</a>
*
* The version of the OpenAPI document: 1.0.38-8
* The version of the OpenAPI document: 1.0.51-0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/github-sls-rest-api/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* github-sls-rest-api
* To generate a JWT token, go to the <a href=\"https://sso.saml.to/auth/jwt.html\" target=\"_blank\">JWT Token Generator</a>
*
* The version of the OpenAPI document: 1.0.38-8
* The version of the OpenAPI document: 1.0.51-0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/github-sls-rest-api/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* github-sls-rest-api
* To generate a JWT token, go to the <a href=\"https://sso.saml.to/auth/jwt.html\" target=\"_blank\">JWT Token Generator</a>
*
* The version of the OpenAPI document: 1.0.38-8
* The version of the OpenAPI document: 1.0.51-0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/github-sls-rest-api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* github-sls-rest-api
* To generate a JWT token, go to the <a href=\"https://sso.saml.to/auth/jwt.html\" target=\"_blank\">JWT Token Generator</a>
*
* The version of the OpenAPI document: 1.0.38-8
* The version of the OpenAPI document: 1.0.51-0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion api/github-sls-rest-api/version.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version":"1.0.38-8"}
{"version":"1.0.51-0"}
3 changes: 2 additions & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
GithubSlsRestApiAwsAssumeSdkOptions,
} from '../api/github-sls-rest-api';

const { GITHUB_TOKEN, GITHUB_REPOSITORY, DEV, API_KEY } = process.env;
const { GITHUB_TOKEN, GITHUB_REPOSITORY, GITHUB_SHA, DEV, API_KEY } = process.env;

export class Action {
async run(): Promise<void> {
Expand Down Expand Up @@ -60,6 +60,7 @@ export class Action {
repo,
role,
provider || undefined,
GITHUB_SHA,
);

info(`SAML Response generated for login to ${response.provider} via ${response.recipient}`);
Expand Down

0 comments on commit 30bf294

Please sign in to comment.