Skip to content

Commit

Permalink
Set GH_TOKEN in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenyu committed Sep 28, 2022
1 parent 57f6881 commit d9dd5de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Test Platform
on:
workflow_dispatch

env:
GH_TOKEN: ${{secrets.PLATFORM_TESTER_GITHUB_TOKEN}}

jobs:
test:
name: Test Platform
Expand Down
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Set up tests in GitHub Actions

Set up `GH_TOKEN` as an environment variable secret. The token needs to have
Set up `PLATFORM_TESTER_GITHUB_TOKEN` as secret. The token needs to have
`repo:public_repo` and `delete_repo` scopes.

## Run tests in GitHub Actions
Expand Down

0 comments on commit d9dd5de

Please sign in to comment.