From 42aa6bc4a28e9d15a07675a2025d72f0b7a8f19e Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 7 May 2021 08:33:22 -0400 Subject: [PATCH 1/5] Update action.yml --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index f39d372f..159975ff 100644 --- a/action.yml +++ b/action.yml @@ -8,6 +8,7 @@ inputs: github-token: description: Github token required: true + default: ${{ github.token }} lcov-file: description: The location of the lcov.info file required: false From 293bf20ee7d5875349db0a8e634685ff766d24fb Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 25 May 2021 12:16:01 -0400 Subject: [PATCH 2/5] Update README.md --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a38be535..bc91187c 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ Total Coverage: 99.39% ## Inputs ##### `github-token` (**Required**) -Github token used for posting the comment. To use the key provided by the GitHub -action runner, use `${{ secrets.GITHUB_TOKEN }}`. +Github token used for posting the comment. Defaults to `${{ github.token }}`. +For alternative `github-token` see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) ##### `lcov-file` (**Optional**) The location of the lcov file to read the coverage report from. Defaults to @@ -32,7 +32,6 @@ branch. When this is set a diff of the coverage percentages is shown. ```yml uses: romeovs/lcov-reporter-action@v0.2.16 with: - github-token: ${{ secrets.GITHUB_TOKEN }} lcov-file: ./coverage/lcov.info ``` From 2b2dd262f22e9a52ee8f903975d1525fd678cee2 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 25 May 2021 12:16:31 -0400 Subject: [PATCH 3/5] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc91187c..a0993f38 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ Total Coverage: 99.39% ##### `github-token` (**Required**) Github token used for posting the comment. Defaults to `${{ github.token }}`. -For alternative `github-token` see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) + +For alternative `github-token` value see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) ##### `lcov-file` (**Optional**) The location of the lcov file to read the coverage report from. Defaults to From c3c7bb7d4eb37d13fe7db38ecdae2ba2f9f201a1 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 25 May 2021 12:18:51 -0400 Subject: [PATCH 4/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0993f38..9595449a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Total Coverage: 99.39% ##### `github-token` (**Required**) Github token used for posting the comment. Defaults to `${{ github.token }}`. -For alternative `github-token` value see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) +For alternative `github-token` values see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token) ##### `lcov-file` (**Optional**) The location of the lcov file to read the coverage report from. Defaults to From fff59436194d3c6914fc79d9602cb95776c31960 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Tue, 1 Jun 2021 06:20:26 -0400 Subject: [PATCH 5/5] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9595449a..95a3761f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Total Coverage: 99.39% ## Inputs -##### `github-token` (**Required**) +##### `github-token` (**Optional**) Github token used for posting the comment. Defaults to `${{ github.token }}`. For alternative `github-token` values see: [Creating Personal Access Tokens](https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token)