Skip to content

Commit

Permalink
updated repo references
Browse files Browse the repository at this point in the history
  • Loading branch information
lw-kmiles committed Sep 15, 2020
1 parent 797cdec commit f162023
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions code-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function githubInputs() {
// So I use the raw ENV.
// There is a complexity here because for pull request
// the GITHUB_SHA value is NOT the correct value.
// See: https://github.com/aws-actions/aws-codebuild-run-build/issues/36
// See: https://github.com/sailthru/aws-codebuild-run-build/issues/36
const sourceVersion =
process.env[`GITHUB_EVENT_NAME`] === "pull_request"
? (((payload || {}).pull_request || {}).head || {}).sha
Expand Down Expand Up @@ -178,7 +178,7 @@ function buildSdk() {

assert(
codeBuild.config.credentials && cloudWatchLogs.config.credentials,
"No credentials. Try adding @aws-actions/configure-aws-credentials earlier in your job to set up AWS credentials."
"No credentials. Try adding @sailthru/configure-aws-credentials earlier in your job to set up AWS credentials."
);

return { codeBuild, cloudWatchLogs };
Expand Down
8 changes: 4 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -295213,7 +295213,7 @@ module.exports = /******/ (function (modules, runtime) {
// So I use the raw ENV.
// There is a complexity here because for pull request
// the GITHUB_SHA value is NOT the correct value.
// See: https://github.com/aws-actions/aws-codebuild-run-build/issues/36
// See: https://github.com/sailthru/aws-codebuild-run-build/issues/36
const sourceVersion =
process.env[`GITHUB_EVENT_NAME`] === "pull_request"
? (((payload || {}).pull_request || {}).head || {}).sha
Expand Down Expand Up @@ -295272,16 +295272,16 @@ module.exports = /******/ (function (modules, runtime) {

function buildSdk() {
const codeBuild = new aws.CodeBuild({
customUserAgent: "aws-actions/aws-codebuild-run-build",
customUserAgent: "sailthru/aws-codebuild-run-build",
});

const cloudWatchLogs = new aws.CloudWatchLogs({
customUserAgent: "aws-actions/aws-codebuild-run-build",
customUserAgent: "sailthru/aws-codebuild-run-build",
});

assert(
codeBuild.config.credentials && cloudWatchLogs.config.credentials,
"No credentials. Try adding @aws-actions/configure-aws-credentials earlier in your job to set up AWS credentials."
"No credentials. Try adding @sailthru/configure-aws-credentials earlier in your job to set up AWS credentials."
);

return { codeBuild, cloudWatchLogs };
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aws-actions/codebuild-run-build",
"version": "1.0.3",
"name": "@sailthru/codebuild-run-build",
"version": "1.0.6",
"description": "Execute CodeBuild::startBuild for the current repo.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit f162023

Please sign in to comment.