Skip to content

Commit

Permalink
Change error to warning for Pulumi testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez authored and zemnm-me-actions-admin-user-zemnmez committed Oct 24, 2023
1 parent 14636e7 commit 8759be5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ts/pulumi/bazel_rce/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import * as awsx from '@pulumi/awsx';
import * as GitHub from '@pulumi/github';
import * as Pulumi from '@pulumi/pulumi';
import * as random from '@pulumi/random';
import { Command } from 'ts/github/actions';
import * as Cert from 'ts/pulumi/lib/certificate';

export interface Args {
Expand Down Expand Up @@ -380,7 +381,9 @@ export class BazelRemoteCache extends Pulumi.ComponentResource {

void self.then(self => {
if (!self.username)
throw `Unable to get own user details. GITHUB_TOKEN may not be configured.`;
Command('warning')({})(
'Unable to get GitHub username. Perhaps GITHUB_TOKEN needs to be specified?'
);
});

new GitHub.ActionsSecret(
Expand Down

0 comments on commit 8759be5

Please sign in to comment.