Skip to content

Commit 4b4525f

Browse files
committed
ci(gh-actions/print-matrix-action): Rename token to pr-comment-github-token input parameter
1 parent cc89d11 commit 4b4525f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/print-matrix/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ inputs:
2121
precalc_matrix:
2222
description: Pre-calculated matrix
2323
required: true
24-
token:
25-
description: GitHub token
24+
pr-comment-github-token:
25+
description: GitHub token used to post the PR comment
2626
required: true
2727

2828
outputs:
@@ -63,6 +63,6 @@ runs:
6363
- name: Update GitHub Comment
6464
uses: marocchino/[email protected]
6565
with:
66-
GITHUB_TOKEN: ${{ inputs.token }}
66+
GITHUB_TOKEN: ${{ inputs.pr-comment-github-token }}
6767
recreate: true
6868
path: comment.md

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ jobs:
161161
trusted-public-keys: ${{ vars.TRUSTED_PUBLIC_KEYS }}
162162
substituters: ${{ vars.SUBSTITUTERS }}
163163
precalc_matrix: ${{ steps.matrix.outputs.fullMatrix }}
164-
token: ${{ secrets.GITHUB_TOKEN }}
164+
pr-comment-github-token: ${{ secrets.GITHUB_TOKEN }}
165165

166166
build:
167167
needs: slurp-matrix
@@ -213,7 +213,7 @@ jobs:
213213
trusted-public-keys: ${{ vars.TRUSTED_PUBLIC_KEYS }}
214214
substituters: ${{ vars.SUBSTITUTERS }}
215215
precalc_matrix: ${{ needs.slurp-matrix.outputs.fullMatrix }}
216-
token: ${{ secrets.GITHUB_TOKEN }}
216+
pr-comment-github-token: ${{ secrets.GITHUB_TOKEN }}
217217

218218
- run: exit 1
219219
if: >-

0 commit comments

Comments
 (0)