File tree 2 files changed +13
-3
lines changed
2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,20 @@ jobs:
18
18
ci-visibility-tests :
19
19
name : CI Visibility performance and correctness tests
20
20
runs-on : ubuntu-latest
21
- env :
22
- ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN : ${{ secrets.ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN }}
23
21
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
24
30
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
31
+ with :
32
+ token : ${{ steps.app-token.outputs.token }}
25
33
- uses : ./.github/actions/node/oldest-maintenance-lts
26
34
- name : CI Visibility Performance Overhead Test
27
35
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 () {
20
20
const getCommonHeaders = ( ) => {
21
21
return {
22
22
'Content-Type' : 'application/json' ,
23
- authorization : `Bearer ${ process . env . ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN } ` ,
23
+ authorization : `Bearer ${ process . env . GITHUB_TOKEN } ` ,
24
24
Accept : 'application/vnd.github.v3+json' ,
25
25
'user-agent' : 'dd-trace benchmark tests'
26
26
}
You can’t perform that action at this time.
0 commit comments