Skip to content

Commit 079c00f

Browse files
committed
🚮 Remove reusable workflow argument *github_token*.
1 parent 50afcf2 commit 079c00f

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

.github/workflows/sonarqube_scan.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# * download_path: The path to download testing coverage reports via 'actions/download-artifact@v3'.
99
#
1010
# * Secret arguments:
11-
# * github_token: The token for operating something with GitHub service.
1211
# * sonar_token: The API token for triggering SonarQube cloud service.
1312
#
1413
# Workflow running output:
@@ -28,9 +27,6 @@ on:
2827
default: ./
2928

3029
secrets:
31-
github_token:
32-
description: "The API token for uploading testing coverage report to Codecov."
33-
required: true
3430
sonar_token:
3531
description: "The API token for uploading testing coverage report to Coveralls."
3632
required: true
@@ -54,4 +50,4 @@ jobs:
5450
uses: SonarSource/sonarcloud-github-action@master
5551
env:
5652
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
57-
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
53+
SONAR_TOKEN: ${{ secrets.sonar_token }}

.github/workflows/test_pyproject_ci_multi-tests_by_poetry.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ jobs:
117117
needs: [all-test_codecov]
118118
uses: ./.github/workflows/sonarqube_scan.yaml
119119
secrets:
120-
github_token: ${{ secrets.GITHUB_TOKEN }}
121120
sonar_token: ${{ secrets.SONAR_TOKEN }}
122121
# with:
123122
# download_path: ${{ inputs.download_path }}

.github/workflows/test_python_project_ci_one-test.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ jobs:
9696
needs: [unit-test_codecov]
9797
uses: ./.github/workflows/sonarqube_scan.yaml
9898
secrets:
99-
github_token: ${{ secrets.GITHUB_TOKEN }}
10099
sonar_token: ${{ secrets.SONAR_TOKEN }}
101100
# with:
102101
# download_path: ${{ inputs.download_path }}

0 commit comments

Comments
 (0)