Skip to content

Commit 8d0b0d4

Browse files
committed
clarify status comment
1 parent 747b408 commit 8d0b0d4

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Start Coder Workspace GitHub Action
22

3-
This GitHub Action starts a [Coder](https://coder.com) workspace and posts status updates as comments on a GitHub issue. It's designed to be used as part of a workflow triggered by events you configure.
3+
This GitHub Action starts a [Coder](https://coder.com) workspace and posts a status comment on a GitHub issue that gets updated with progress. It's designed to be used as part of a workflow triggered by events you configure.
44

55
## Features
66

77
- Starts a Coder workspace using your specified template
8-
- Posts status comments on a GitHub issue
8+
- Posts a single status comment on a GitHub issue that updates with progress
99
- Configurable workspace parameters
1010
- Maps GitHub users to Coder users
1111

@@ -63,7 +63,7 @@ jobs:
6363
| Input | Description | Required | Default |
6464
| --------------------- | ------------------------------------------------------------------------------------------------------- | -------- | --------------------- |
6565
| `github-token` | GitHub token for posting comments | No | `${{ github.token }}` |
66-
| `github-issue-number` | GitHub issue number where comments will be posted | Yes | - |
66+
| `github-issue-number` | GitHub issue number where the status comment will be posted | Yes | - |
6767
| `github-username` | GitHub username of the user for whom the workspace is being started | No | - |
6868
| `coder-username` | Coder username to override default user mapping (only set one of `github-username` or `coder-username`) | No | - |
6969
| `coder-url` | Coder deployment URL | Yes | - |
@@ -74,11 +74,11 @@ jobs:
7474

7575
## How It Works
7676

77-
1. The action posts an initial comment on the GitHub issue
77+
1. The action posts an initial status comment on the GitHub issue
7878
2. If `github-username` is set, it looks up the Coder user that matches the GitHub user. The Coder user must've either logged into Coder or connected external auth using the same GitHub account. If `coder-username` is set, it uses that Coder user instead.
7979
3. It starts a Coder workspace using the specified template and parameters
80-
4. If successful, it updates the comment with the workspace URL
81-
5. If it fails, it updates the comment with an error message
80+
4. If successful, it updates the same comment with the workspace URL
81+
5. If it fails, it updates the same comment with an error message
8282

8383
## Requirements
8484

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
name: 'Start Coder Workspace'
2-
description: 'Starts a Coder workspace and posts status updates as comments on a GitHub issue.'
2+
description: 'Starts a Coder workspace and posts a status comment on a GitHub issue that updates with progress.'
33
inputs:
44
github-token:
5-
description: 'GitHub token for posting comments'
5+
description: 'GitHub token for posting the status comment'
66
required: false
77
default: ${{ github.token }}
88
github-issue-number:
9-
description: 'GitHub issue number where comments will be posted'
9+
description: 'GitHub issue number where the status comment will be posted'
1010
required: true
1111
github-username:
1212
description: 'GitHub username of the user for whom the workspace is being started'

0 commit comments

Comments
 (0)