You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-12Lines changed: 15 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,23 +14,26 @@ If the file does not exist the action exits silently.
14
14
15
15
```yml
16
16
- name: Create Issue From File
17
-
uses: peter-evans/create-issue-from-file@v2
17
+
uses: peter-evans/create-issue-from-file@v3
18
18
with:
19
19
title: An example issue
20
20
content-filepath: ./example-content/output.md
21
-
labels: report, automated issue
21
+
labels: |
22
+
report
23
+
automated issue
22
24
```
23
25
24
-
### Inputs
25
-
26
-
- `token` - `GITHUB_TOKEN` or a `repo` scoped [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). Defaults to `GITHUB_TOKEN`.
27
-
- `issue-number`- The issue number of an existing issue to update
28
-
- `title`(**required**) - The title of the issue
29
-
- `content-filepath`(**required**) - The file path to the issue content
30
-
- `labels`- A comma separated list of labels
31
-
- `assignees`- A comma separated list of assignees (GitHub usernames)
32
-
- `project`- *Deprecated*. See [Create a project card](#create-a-project-card) for details.
33
-
- `project-column`- *Deprecated*. See [Create a project card](#create-a-project-card) for details.
26
+
### Action inputs
27
+
28
+
| Name | Description | Default |
29
+
| --- | --- | --- |
30
+
| `token` | `GITHUB_TOKEN` or a `repo` scoped [PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token). | `GITHUB_TOKEN` |
31
+
| `repository` | The target GitHub repository. | Current repository |
32
+
| `issue-number` | The issue number of an existing issue to update. | |
33
+
| `title` | (**required**) The title of the issue. | |
34
+
| `content-filepath` | The file path to the issue content. | |
35
+
| `labels` | A comma or newline-separated list of labels. | |
36
+
| `assignees` | A comma or newline-separated list of assignees (GitHub usernames). | |
0 commit comments