Skip to content

Commit 02f48b1

Browse files
committed
doc: include GITHUB_TOKEN in mandatory config
1 parent f576571 commit 02f48b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ The action will consider both branches on the same repository, and pull requests
2020
Add the following secrets to your repository, in **Settings > Secrets and variables**:
2121

2222
- `CLEVER_SECRET` and `CLEVER_TOKEN`: find them in your `clever-tools.json` after installing the CLI (example path on Mac: `~/.config/clever-cloud/clever-tools.json`)
23-
- `ORGA_ID`: the organisation in which your app is created
23+
- `ORGA_ID`: the organisation in which your app is create
24+
- `GITHUB_TOKEN`: implicit, to enable comments on the PR
2425

2526
For better security, we advise generating a specific `CLEVER_SECRET` and `CLEVER_TOKEN` for GitHub Actions. Follow these steps to do so:
2627

@@ -84,6 +85,7 @@ To inject your app secrets and environment variables on Clever Cloud, add them t
8485
name: Create review app
8586
uses: CleverCloud/clever-cloud-review-app@latest
8687
env:
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # To enable comments on the PR
8789
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
8890
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
8991
ORGA_ID: ${{ secrets.ORGA_ID }}

0 commit comments

Comments
 (0)