Skip to content

Commit 660ce39

Browse files
committed
switch to default github token for ci visibility benchmark
1 parent 54c7c51 commit 660ce39

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/ci-visibility-performance.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ jobs:
1919
name: CI Visibility performance and correctness tests
2020
runs-on: ubuntu-latest
2121
env:
22-
ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.ROBOT_CI_GITHUB_PERSONAL_ACCESS_TOKEN }}
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
permissions:
24+
actions: write
2325
steps:
2426
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2527
- uses: ./.github/actions/node/oldest-maintenance-lts

benchmark/e2e-ci/benchmark-run.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function getBranchUnderTest () {
2020
const 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
}

0 commit comments

Comments
 (0)