You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you build a GitHub Action using Probot, we recommend you watch this repository as we will keep updating it implementing best practises and new APIs.
8
8
@@ -28,6 +28,22 @@ jobs:
28
28
29
29
See the action in ... action [#1](https://github.com/probot/example-github-action/issues/1)
30
30
31
+
Alternatively, you can pass the token with `with:`
32
+
33
+
```yml
34
+
- uses: probot/exmaple-github-action@v1
35
+
with:
36
+
token: ${{ secrets.GITHUB_TOKEN }}
37
+
# or
38
+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39
+
```
40
+
41
+
## Configuration
42
+
43
+
GitHub App authentication via `APP_ID`/`PRIVATE_KEY` is not supported. Only token authentication is supported by setting `GITHUB_TOKEN`.
44
+
45
+
Note that the `LOG_LEVEL` environment variable is ignored. Debug logs are not logged by default in GitHub Actions, but can be enabled by creating a `ACTIONS_STEP_DEBUG` repository secret and setting it to 1.
46
+
31
47
## How it works
32
48
33
49
The Probot application function is defined in [`app.js`](app.js).
0 commit comments