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
catch up this repo with other ospo github action repo changes
- [x] update README with split authentication information
Signed-off-by: jmeridth <jmeridth@gmail.com>
Copy file name to clipboardExpand all lines: README.md
+20-4Lines changed: 20 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,14 +29,30 @@ Note: Your GitHub token will need to have read access to all the repositories in
29
29
30
30
Below are the allowed configuration options:
31
31
32
+
#### Authentication
33
+
34
+
This action can be configured to authenticate with GitHub App Installation or Personal Access Token (PAT). If all configuration options are provided, the GitHub App Installation configuration has precedence. You can choose one of the following methods to authenticate:
|`GH_APP_ID`| True |`""`| GitHub Application ID. See [documentation](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app) for more details. |
41
+
|`GH_APP_INSTALLATION_ID`| True |`""`| GitHub Application Installation ID. See [documentation](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app) for more details. |
42
+
|`GH_APP_PRIVATE_KEY`| True |`""`| GitHub Application Private Key. See [documentation](https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/about-authentication-with-a-github-app) for more details. |
|`ACTIVITY_METHOD`| false |`"pushed"`| How to get the last active date of the repository. Defaults to `pushed`, which is the last time any branch had a push. Can also be set to `default_branch_updated` to instead measure from the latest commit on the default branch (good for filtering out dependabot ) |
|`GH_ENTERPRISE_URL`| false |`""`| URL of GitHub Enterprise instance to use for auth instead of github.com |
39
-
|`GH_TOKEN`| true || The GitHub Token used to scan repositories. Must have read access to all repositories you are interested in scanning |
40
56
|`INACTIVE_DAYS`| true || The number of days used to determine if repository is stale, based on `push` events |
41
57
|`EXEMPT_REPOS`| false || Comma separated list of repositories to exempt from being flagged as stale. Supports Unix shell-style wildcards. ie. `EXEMPT_REPOS = "stale-repos,test-repo,conf-*"`|
42
58
|`EXEMPT_TOPICS`| false || Comma separated list of topics to exempt from being flagged as stale |
0 commit comments