Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 291539a

Browse files
authored
Merge pull request #22 from githubtraining/add-repo-token
Add repo-token as input to action.yml code example
2 parents 7503d81 + 4f9d61a commit 291539a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

responses/14_create-metadata.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Now, we will do something similar so that our action matches what our workflow e
2727

2828
💡All of the following steps take place inside of the `.github/actions/issue-maker` directory.
2929

30-
We will use the `joke-output`, as well as an issue title, in in this portion of the course so we need to accept `inputs:` for our action.
30+
We will use the joke output, an `issue-title`, and the `repo-token` in this portion of the course as `inputs:` for our action.
3131

3232
1. Create a file named `action.yml` with the following contents:
3333
```yaml
@@ -42,6 +42,8 @@ We will use the `joke-output`, as well as an issue title, in in this portion of
4242
description: "Every issue needs a title, it's nice to supply one, even though you could do this dynamically within your code"
4343
default: "a joke for you"
4444
required: true
45+
repo-token:
46+
description: "Token with permissions to do repo things"
4547
4648
runs:
4749
using: "node12"

0 commit comments

Comments
 (0)