Skip to content

Commit 0811162

Browse files
authored
docs(command): clean up the readme code example
1 parent 088fd4e commit 0811162

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

command/README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Here is a summary of all the input options you can use.
3434

3535
| variable | default | description |
3636
| -------------- | --------------------------- | ------------------------------------------------------------------------------------------------ |
37-
| **github-token** | `GITHUB_TOKEN` | A GitHub token to use when commenting on PR ([read more](#github-tokens)) |
37+
| **github-token** | `github.token` | A GitHub token to use when commenting on PR ([read more](#github-tokens)) |
3838

3939
## Example workflows
4040

@@ -46,12 +46,12 @@ You can read more about this in the [GitHub Actions documentation][link-actions]
4646
This workflow listens to the `issue_comment` event and run the `eas build` command to start a build at Expo.
4747

4848
```yml
49-
name: Run EAS Command
49+
name: EAS Command
5050
on:
5151
issue_comment:
5252
types: [created]
5353
jobs:
54-
publish:
54+
comment:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- name: 🏗 Setup repo
@@ -73,10 +73,8 @@ jobs:
7373
- name: 📦 Install dependencies
7474
run: yarn install
7575

76-
- name: Run command
76+
- name: 💬 Respond to command
7777
uses: expo/expo-github-action/command@v7
78-
with:
79-
github-token: ${{ secrets.GITHUB_TOKEN }}
8078
```
8179
8280
## Things to know

0 commit comments

Comments
 (0)