Skip to content

Commit f905af0

Browse files
committed
Test action with PAT
1 parent ac744c8 commit f905af0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ jobs:
167167
id: test-results
168168
uses: ./
169169
with:
170+
github_token: ${{ secrets.PAT }}
170171
check_name: Test Results (Dockerfile)
171172
junit_files: "artifacts/**/*.xml"
172173
json_file: "tests.json"
@@ -300,7 +301,7 @@ jobs:
300301
-v "/home/runner/work/publish-unit-test-result-action/publish-unit-test-result-action":"$GITHUB_WORKSPACE" \
301302
enricomi/publish-unit-test-result-action:latest
302303
env:
303-
INPUT_GITHUB_TOKEN: ${{ github.token }}
304+
INPUT_GITHUB_TOKEN: ${{ secrets.PAT }}
304305
INPUT_CHECK_NAME: Test Results (Docker Image)
305306
INPUT_JUNIT_FILES: "artifacts/**/*.xml"
306307
INPUT_JSON_FILE: "tests.json"
@@ -426,6 +427,7 @@ jobs:
426427
id: test-results
427428
uses: ./composite
428429
with:
430+
github_token: ${{ secrets.PAT }}
429431
check_name: Test Results (${{ matrix.os-label }} python ${{ matrix.python }})
430432
junit_files: "artifacts${{ steps.os.outputs.path-sep }}**${{ steps.os.outputs.path-sep }}*.xml"
431433
json_file: "tests.json"
@@ -476,6 +478,7 @@ jobs:
476478
id: test-results
477479
uses: ./composite
478480
with:
481+
github_token: ${{ secrets.PAT }}
479482
check_name: Test Results (setup-python)
480483
junit_files: "artifacts/**/*.xml"
481484
json_file: "tests.json"
@@ -515,6 +518,7 @@ jobs:
515518
id: test-results
516519
uses: ./
517520
with:
521+
github_token: ${{ secrets.PAT }}
518522
check_name: Test Results (Test Files)
519523
fail_on: nothing
520524
junit_files: "test-files/junit-xml/**/*.xml"
@@ -559,6 +563,7 @@ jobs:
559563
id: test-results
560564
uses: ./
561565
with:
566+
github_token: ${{ secrets.PAT }}
562567
check_name: Test Results (Test File)
563568
fail_on: nothing
564569
junit_files: "test-files/pytest/junit.gloo.standalone.xml"

0 commit comments

Comments
 (0)