Skip to content

Commit a6a41dc

Browse files
committed
update readme
1 parent a09e31d commit a6a41dc

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
uses: coder/start-workspace-action@v0.1.0
4444
with:
4545
github-token: ${{ secrets.GITHUB_TOKEN }}
46-
github-issue-number: ${{ github.event.issue.number }}
4746
github-username: >-
4847
${{
4948
(github.event_name == 'issue_comment' && github.event.comment.user.login) ||
@@ -52,7 +51,6 @@ jobs:
5251
coder-url: ${{ secrets.CODER_URL }}
5352
coder-token: ${{ secrets.CODER_TOKEN }}
5453
template-name: ${{ secrets.CODER_TEMPLATE_NAME }}
55-
workspace-name: issue-${{ github.event.issue.number }}
5654
parameters: |-
5755
Coder Image: codercom/oss-dogfood:latest
5856
Coder Repository Base Directory: "~"
@@ -62,17 +60,17 @@ jobs:
6260
6361
## Inputs
6462
65-
| Input | Description | Required | Default |
66-
| --------------------- | ------------------------------------------------------------------------------------------------------- | -------- | --------------------- |
67-
| `github-token` | GitHub token for posting comments | No | `${{ github.token }}` |
68-
| `github-issue-number` | GitHub issue number where the status comment will be posted | Yes | - |
69-
| `github-username` | GitHub username of the user for whom the workspace is being started | No | - |
70-
| `coder-username` | Coder username to override default user mapping (only set one of `github-username` or `coder-username`) | No | - |
71-
| `coder-url` | Coder deployment URL | Yes | - |
72-
| `coder-token` | API token for Coder | Yes | - |
73-
| `template-name` | Name of the Coder template to use | Yes | - |
74-
| `workspace-name` | Name for the new workspace | Yes | - |
75-
| `parameters` | YAML-formatted parameters for the Coder workspace | Yes | - |
63+
| Input | Description | Required | Default |
64+
| --------------------- | ------------------------------------------------------------------------------------------------------- | -------- | --------------------------------- |
65+
| `github-token` | GitHub token for posting comments | No | `${{ github.token }}` |
66+
| `github-issue-number` | GitHub issue number where the status comment will be posted | No | Current issue from GitHub context |
67+
| `github-username` | GitHub username of the user for whom the workspace is being started | No | - |
68+
| `coder-username` | Coder username to override default user mapping (only set one of `github-username` or `coder-username`) | No | - |
69+
| `coder-url` | Coder deployment URL | Yes | - |
70+
| `coder-token` | API token for Coder | Yes | - |
71+
| `template-name` | Name of the Coder template to use | Yes | - |
72+
| `workspace-name` | Name for the new workspace | No | `issue-{issue_number}` |
73+
| `parameters` | YAML-formatted parameters for the Coder workspace | Yes | - |
7674

7775
## How It Works
7876

0 commit comments

Comments
 (0)