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
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,7 @@ jobs:
47
47
repository: REPLACE_THIS/REPLACE_THIS # Provide a repository name-with-owner (in the format "primer/primer-docs"). This is where issues will be filed and where Copilot will open PRs; more information below.
48
48
token: ${{ secrets.GH_TOKEN }} # This token must have write access to the repo above (contents, issues, and PRs); more information below. Note: GitHub Actions' GITHUB_TOKEN cannot be used here.
49
49
cache_key: REPLACE_THIS # Provide a filename that will be used when caching results. We recommend including the name or domain of the site being scanned.
50
+
# base_url: https://REPLACE_THIS # Optional: GitHub API base URL to pass into Octokit (required for GitHub Enterprise Server)
50
51
# login_url: # Optional: URL of the login page if authentication is required
51
52
# username: # Optional: Username for authentication
@@ -118,6 +119,7 @@ Trigger the workflow manually or automatically based on your configuration. The
118
119
|`repository`| Yes | Repository (with owner) for issues and PRs |`primer/primer-docs`|
119
120
|`token`| Yes | PAT with write permissions (see above) |`${{ secrets.GH_TOKEN }}`|
120
121
|`cache_key`| Yes | Key for caching results across runs<br>Allowed: `A-Za-z0-9._/-`|`cached_results-primer.style-main.json`|
122
+
|`base_url`| No | GitHub API base URL used by Octokit. Set this for GitHub Enterprise Server (format: `https://HOSTNAME/api/v3`). Defaults to `https://api.github.com`|`https://ghe.example.com/api/v3`|
121
123
|`login_url`| No | If scanned pages require authentication, the URL of the login page |`https://github.com/login`|
122
124
|`username`| No | If scanned pages require authentication, the username to use for login |`some-user`|
123
125
|`password`| No | If scanned pages require authentication, the password to use for login |`${{ secrets.PASSWORD }}`|
0 commit comments