Skip to content

Commit 65cc257

Browse files
committed
Update README
1 parent 258ece3 commit 65cc257

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,14 @@ If the file does not exist the action exits silently.
1111

1212
## Usage
1313

14-
```hcl
15-
action "Create Issue From File" {
16-
uses = "peter-evans/create-issue-from-file@v1.0.1"
17-
secrets = ["GITHUB_TOKEN"]
18-
env = {
19-
ISSUE_TITLE = "An example issue"
20-
ISSUE_CONTENT_FILEPATH = "./example-content/output.md"
21-
ISSUE_LABELS = "report, automated issue"
22-
}
23-
}
14+
```yml
15+
- name: Create Issue From File
16+
uses: peter-evans/create-issue-from-file@v1.0.1
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
ISSUE_TITLE: An example issue
20+
ISSUE_CONTENT_FILEPATH: ./example-content/output.md
21+
ISSUE_LABELS: report, automated issue
2422
```
2523
2624
#### Environment variables

0 commit comments

Comments
 (0)