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
+75-10Lines changed: 75 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -38,11 +38,19 @@ Find out more in the [GitHub API documentation](https://docs.github.com/en/rest/
38
38
1. Create a repository to host this GitHub Action or select an existing repository.
39
39
1. Select a best fit workflow file from the [examples below](#example-workflows).
40
40
1. Copy that example into your repository (from step 1) and into the proper directory for GitHub Actions: `.github/workflows/` directory with the file extension `.yml` (ie. `.github/workflows/contributors.yml`)
41
-
1. Edit the values (`ORGANIZATION`, `REPOSITORY`, `START_DATE`, `END_DATE`) from the sample workflow with your information.
42
-
- If no start and end date are supplied, the action will consider the entire repository history and be unable to determine if contributors are new or returning.
43
-
- If running on a whole organization then no repository is needed.
44
-
- If running the action on just one repository or a list of repositories, then no organization is needed.
45
-
1. Also edit the value for `GH_ENTERPRISE_URL` if you are using a GitHub Server and not using github.com. For github.com users, don't put anything in here.
41
+
1. Edit the values below from the sample workflow with your information:
42
+
43
+
-`ORGANIZATION`
44
+
-`REPOSITORY`
45
+
-`START_DATE`
46
+
-`END_DATE`
47
+
48
+
If no **start and end date** are supplied, the action will consider the entire repository history and be unable to determine if contributors are new or returning.
49
+
If running on a whole **organization** then no repository is needed.
50
+
If running the action on just **one repository** or a **list of repositories**, then no organization is needed.
51
+
52
+
1. Also edit the value for `GH_ENTERPRISE_URL` if you are using a GitHub Server and not using github.com.
53
+
For github.com users, leave it empty.
46
54
1. If you are running this action on an organization or repository other than the one where the workflow file is going to be, then update the value of `GH_TOKEN`.
47
55
- Do this by creating a [GitHub API token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens#creating-a-personal-access-token-classic) with permissions to read the repository/organization and write issues.
48
56
- Then take the value of the API token you just created, and [create a repository secret](https://docs.github.com/en/actions/security-guides/encrypted-secrets) where the name of the secret is `GH_TOKEN` and the value of the secret the API token.
@@ -62,11 +70,12 @@ This action can be configured to authenticate with GitHub App Installation or Pe
|`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. |
68
-
|`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. |
69
-
|`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. |
|`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. |
76
+
|`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. |
77
+
|`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. |
78
+
|`GITHUB_APP_ENTERPRISE_ONLY`| False | false | Set this input to `true` if your app is created in GHE and communicates with GHE. |
0 commit comments