|
99 | 99 | go-secondary-version: ${{ inputs.go-primary-version }} |
100 | 100 | go-sum-file: ${{ inputs.go-sum-file }} |
101 | 101 | enable-multi-module: ${{ env.ENABLE_MULTI_MODULE_TESTING }} |
102 | | - github-token: ${{ secrets.github-token }} |
103 | 102 |
|
104 | 103 | # -------------------------------------------------------------------- |
105 | 104 | # Extract Go module directory from GO_SUM_FILE path |
@@ -298,7 +297,6 @@ jobs: |
298 | 297 | go-secondary-version: ${{ inputs.go-primary-version }} |
299 | 298 | go-sum-file: ${{ inputs.go-sum-file }} |
300 | 299 | enable-multi-module: ${{ env.ENABLE_MULTI_MODULE_TESTING }} |
301 | | - github-token: ${{ secrets.github-token }} |
302 | 300 |
|
303 | 301 | # -------------------------------------------------------------------- |
304 | 302 | # Extract Go module directory from GO_SUM_FILE path |
@@ -508,6 +506,7 @@ jobs: |
508 | 506 | if: ${{ inputs.enable-gitleaks }} |
509 | 507 | permissions: |
510 | 508 | contents: read |
| 509 | + pull-requests: write |
511 | 510 | steps: |
512 | 511 | # -------------------------------------------------------------------- |
513 | 512 | # Checkout code (required for local actions) |
@@ -563,7 +562,7 @@ jobs: |
563 | 562 | continue-on-error: true |
564 | 563 | uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9 |
565 | 564 | env: |
566 | | - GITHUB_TOKEN: ${{ secrets.github-token }} |
| 565 | + GITHUB_TOKEN: ${{ github.token }} |
567 | 566 | GITLEAKS_LICENSE: ${{ secrets.gitleaks-license }} |
568 | 567 | GITLEAKS_NOTIFY_USER_LIST: ${{ env.GITLEAKS_NOTIFY_USER_LIST }} |
569 | 568 | GITLEAKS_ENABLE_COMMENTS: "true" |
|
0 commit comments