Skip to content

Commit 9afea81

Browse files
docs: update error responses
1 parent fcde9a9 commit 9afea81

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ inputs:
3333
required: true
3434

3535
github-user-id:
36-
description: "GitHub user ID to create task for. Required unless coder-username is provided."
36+
description: "GitHub user ID to create task for. If provided, `coder-username` must not be set."
3737
required: false
3838

3939
coder-username:
40-
description: "Coder username to create task for. If provided, github-user-id is not required. Useful for automated workflows without a triggering user."
40+
description: "Coder username to create task for. If provided, github-user-id must not be set. Useful for automated workflows without a triggering user."
4141
required: false
4242

4343
# Optional inputs

src/action.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,6 @@ describe("CoderTaskAction", () => {
418418
assertActionOutputs(parsedResult, true);
419419
});
420420

421-
422421
test("sends prompt to existing task", async () => {
423422
// Setup
424423
coderClient.mockGetCoderUserByGithubID.mockResolvedValue(mockUser);

0 commit comments

Comments
 (0)