File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,20 @@ jobs:
1818 ci-visibility-tests :
1919 name : CI Visibility performance and correctness tests
2020 runs-on : ubuntu-latest
21- env :
22- ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN : ${{ secrets.ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN }}
2321 steps :
22+ - uses : actions/create-github-app-token@db3cdf40984fe6fd25ae19ac2bf2f4886ae8d959 # v2.0.5
23+ id : app-token
24+ with :
25+ app-id : ${{ vars.APP_ID }}
26+ private-key : ${{ secrets.PRIVATE_KEY }}
27+ repositories : |
28+ dd-trace-js
29+ test-environment
2430 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31+ with :
32+ token : ${{ steps.app-token.outputs.token }}
2533 - uses : ./.github/actions/node/oldest-maintenance-lts
2634 - name : CI Visibility Performance Overhead Test
2735 run : yarn bench:e2e:ci-visibility
36+ env :
37+ GITHUB_TOKEN : ${{ steps.app-token.outputs.token }}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ function getBranchUnderTest () {
2020const getCommonHeaders = ( ) => {
2121 return {
2222 'Content-Type' : 'application/json' ,
23- authorization : `Bearer ${ process . env . ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN } ` ,
23+ authorization : `Bearer ${ process . env . GITHUB_TOKEN } ` ,
2424 Accept : 'application/vnd.github.v3+json' ,
2525 'user-agent' : 'dd-trace benchmark tests'
2626 }
You can’t perform that action at this time.
0 commit comments