Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
7a59c35
Chore: Pin and update dependencies (#558)
zoltanbedi Jan 8, 2026
1afa359
fix(deps): update module pgregory.net/rapid to v1.2.0 (#570)
renovate-sh-app[bot] Jan 8, 2026
28a00cb
fix(deps): update module golang.org/x/oauth2 to v0.34.0 (#569)
renovate-sh-app[bot] Jan 9, 2026
9fd390d
fix(deps): update module github.com/bradleyfalzon/ghinstallation/v2 t…
renovate-sh-app[bot] Jan 9, 2026
8179d81
chore(deps): pin dependencies (#518)
renovate-sh-app[bot] Jan 9, 2026
008ab1c
chore(deps): update actions/checkout action to v6 (#571)
renovate-sh-app[bot] Jan 9, 2026
bdd65b0
set resolution for @remix-run/router (#575)
itsmylife Jan 9, 2026
5d6ff7d
fix(deps): update module github.com/google/go-github/v72 to v81 (#574)
renovate-sh-app[bot] Jan 9, 2026
3e3132b
release v2.4.1 (#576)
itsmylife Jan 9, 2026
789e513
chore(deps): update grafana/plugin-ci-workflows/ci-cd-workflows actio…
renovate-sh-app[bot] Jan 12, 2026
082add4
chore(deps): update dependency eslint-plugin-jsdoc to v62 (#580)
renovate-sh-app[bot] Jan 12, 2026
715e39b
chore(deps): update dependency @grafana/plugin-e2e to v3.1.1 (#577)
renovate-sh-app[bot] Jan 12, 2026
dd19f1b
chore(deps): update dependency @types/node to v25.0.5 (#582)
renovate-sh-app[bot] Jan 13, 2026
8feec9e
chore(deps): update dependency @types/lodash to v4.17.23 (#583)
renovate-sh-app[bot] Jan 13, 2026
911d00f
chore(deps): update dependency @grafana/plugin-e2e to v3.1.2 (#585)
renovate-sh-app[bot] Jan 15, 2026
a94b5da
chore(deps): update dependency @types/node to v25.0.6 (#584)
renovate-sh-app[bot] Jan 15, 2026
0a9cbdc
chore(deps): update dependency cspell to v9.6.0 (#587)
renovate-sh-app[bot] Jan 15, 2026
506d6f8
Remove workflow that updates make docs procedure (#581)
jdbaldry Jan 16, 2026
1291c64
chore(deps): update typescript-eslint monorepo to v8.53.0 (#589)
renovate-sh-app[bot] Jan 19, 2026
5626233
chore(deps): update dependency @babel/core to v7.28.6 (#588)
renovate-sh-app[bot] Jan 19, 2026
32ed722
disable E2E against dev grafana (#596)
yesoreyeram Jan 19, 2026
633608a
chore(deps): update dependency prettier to v3.8.0 (#594)
renovate-sh-app[bot] Jan 19, 2026
14562ed
chore(deps): update dependency eslint-plugin-prettier to v5.5.5 (#592)
renovate-sh-app[bot] Jan 19, 2026
29bc76d
Bump tar from 7.5.2 to 7.5.3 (#593)
dependabot[bot] Jan 19, 2026
0ffa639
chore(deps): update dependency swc-loader to v0.2.7 (#591)
renovate-sh-app[bot] Jan 19, 2026
3a375cf
chore(deps): update dependency @types/node to v25.0.9 (#590)
renovate-sh-app[bot] Jan 19, 2026
8a537dd
chore(deps): update dependency eslint-plugin-jsdoc to v62.1.0 (#597)
renovate-sh-app[bot] Jan 21, 2026
8755724
Bump tar from 7.5.3 to 7.5.6 (#598)
dependabot[bot] Jan 21, 2026
1b55427
chore(deps): update dependency @testing-library/react to v16.3.2 (#599)
renovate-sh-app[bot] Jan 22, 2026
503d183
chore(deps): update grafana/plugin-ci-workflows/ci-cd-workflows actio…
renovate-sh-app[bot] Jan 23, 2026
231907e
chore(deps): update dependency @grafana/plugin-e2e to v3.1.3 (#603)
renovate-sh-app[bot] Jan 23, 2026
d29d682
chore(deps): update dependency eslint-plugin-jsdoc to v62.2.0 (#602)
renovate-sh-app[bot] Jan 23, 2026
d363de7
chore(deps): update typescript-eslint monorepo to v8.53.1 (#601)
renovate-sh-app[bot] Jan 23, 2026
449752c
chore(deps): update dependency @swc/core to v1.15.10 (#600)
renovate-sh-app[bot] Jan 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/breezy-sails-pay.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fancy-teeth-search.md

This file was deleted.

2 changes: 1 addition & 1 deletion .config/.cprc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "6.6.0",
"version": "6.7.3",
"features": {}
}
2 changes: 1 addition & 1 deletion .config/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG grafana_version=latest
ARG grafana_version=latest@sha256:703b4a3aff457041dcbd15bf36dbc8bb83cb513b72b0912056985712be4c01bd
ARG grafana_image=grafana-enterprise

FROM grafana/${grafana_image}:${grafana_version}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ on:
jobs:
cd:
name: CD
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v4.1.0
uses: grafana/plugin-ci-workflows/.github/workflows/cd.yml@ci-cd-workflows/v6.0.0
with:
go-version: '1.25'
golangci-lint-version: '2.4.0'
branch: ${{ github.event.inputs.branch }}
environment: ${{ github.event.inputs.environment }}
docs-only: ${{ fromJSON(github.event.inputs.docs-only) }}
run-playwright: true
run-playwright-with-skip-grafana-dev-image: true
run-playwright-with-skip-grafana-react-19-preview-image: true
github-draft-release: false
6 changes: 3 additions & 3 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ on:
jobs:
ci:
name: CI
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v4.1.0
uses: grafana/plugin-ci-workflows/.github/workflows/ci.yml@ci-cd-workflows/v6.0.0
with:
go-version: '1.25'
golangci-lint-version: '2.4.0'
plugin-version-suffix: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || '' }}
run-playwright: true
run-playwright-with-skip-grafana-dev-image: true
run-playwright-with-skip-grafana-react-19-preview-image: true
21 changes: 0 additions & 21 deletions .github/workflows/update-make-docs.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
24
666 changes: 333 additions & 333 deletions .yarn/releases/yarn-4.9.3.cjs → .yarn/releases/yarn-4.12.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.9.3.cjs
yarnPath: .yarn/releases/yarn-4.12.0.cjs
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Change Log

## 2.4.1

🐛 Update create-plugin configs
🐛 Fixed the broken E2E tests with updated plugin-e2e package

## 2.4.0

### Minor Changes
Expand Down
10 changes: 5 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ module github.com/grafana/github-datasource
go 1.25

require (
github.com/bradleyfalzon/ghinstallation/v2 v2.14.0
github.com/google/go-github/v72 v72.0.0
github.com/bradleyfalzon/ghinstallation/v2 v2.17.0
github.com/google/go-github/v81 v81.0.0
github.com/grafana/grafana-plugin-sdk-go v0.284.0
github.com/influxdata/tdigest v0.0.1
github.com/pkg/errors v0.9.1
github.com/shurcooL/githubv4 v0.0.0-20240727222349-48295856cce7
github.com/stretchr/testify v1.11.1
golang.org/x/oauth2 v0.33.0
pgregory.net/rapid v1.0.0
golang.org/x/oauth2 v0.34.0
pgregory.net/rapid v1.2.0
)

require (
Expand All @@ -26,7 +26,7 @@ require (
github.com/gogo/googleapis v1.4.1 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
github.com/google/go-github/v69 v69.0.0 // indirect
github.com/google/go-github/v75 v75.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/grafana/otel-profiling-go v0.5.1 // indirect
Expand Down
20 changes: 10 additions & 10 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de h1:FxWPpzIjnTlhP
github.com/araddon/dateparse v0.0.0-20210429162001-6b43995a97de/go.mod h1:DCaWoUhZrYW9p1lxo/cm8EmUOOzAPSEZNGF2DK1dJgw=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bradleyfalzon/ghinstallation/v2 v2.14.0 h1:0D4vKCHOvYrDU8u61TnE2JfNT4VRrBLphmxtqazTO+M=
github.com/bradleyfalzon/ghinstallation/v2 v2.14.0/go.mod h1:LOVmdZYVZ8jqdr4n9wWm1ocDiMz9IfMGfRkaYC1a52A=
github.com/bradleyfalzon/ghinstallation/v2 v2.17.0 h1:SmbUK/GxpAspRjSQbB6ARvH+ArzlNzTtHydNyXUQ6zg=
github.com/bradleyfalzon/ghinstallation/v2 v2.17.0/go.mod h1:vuD/xvJT9Y+ZVZRv4HQ42cMyPFIYqpc7AbB4Gvt/DlY=
github.com/bufbuild/protocompile v0.14.1 h1:iA73zAf/fyljNjQKwYzUHD6AD4R8KMasmwa/FBatYVw=
github.com/bufbuild/protocompile v0.14.1/go.mod h1:ppVdAIhbr2H8asPk6k4pY7t9zB1OU5DoEw9xY/FUi1c=
github.com/cenkalti/backoff/v5 v5.0.3 h1:ZN+IMa753KfX5hd8vVaMixjnqRZ3y8CuJKRKj1xcsSM=
Expand Down Expand Up @@ -60,10 +60,10 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/go-github/v69 v69.0.0 h1:YnFvZ3pEIZF8KHmI8xyQQe3mYACdkhnaTV2hr7CP2/w=
github.com/google/go-github/v69 v69.0.0/go.mod h1:xne4jymxLR6Uj9b7J7PyTpkMYstEMMwGZa0Aehh1azM=
github.com/google/go-github/v72 v72.0.0 h1:FcIO37BLoVPBO9igQQ6tStsv2asG4IPcYFi655PPvBM=
github.com/google/go-github/v72 v72.0.0/go.mod h1:WWtw8GMRiL62mvIquf1kO3onRHeWWKmK01qdCY8c5fg=
github.com/google/go-github/v75 v75.0.0 h1:k7q8Bvg+W5KxRl9Tjq16a9XEgVY1pwuiG5sIL7435Ic=
github.com/google/go-github/v75 v75.0.0/go.mod h1:H3LUJEA1TCrzuUqtdAQniBNwuKiQIqdGKgBo1/M/uqI=
github.com/google/go-github/v81 v81.0.0 h1:hTLugQRxSLD1Yei18fk4A5eYjOGLUBKAl/VCqOfFkZc=
github.com/google/go-github/v81 v81.0.0/go.mod h1:upyjaybucIbBIuxgJS7YLOZGziyvvJ92WX6WEBNE3sM=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
Expand Down Expand Up @@ -263,8 +263,8 @@ golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.46.0 h1:giFlY12I07fugqwPuWJi68oOnpfqFnJIJzaIIm2JVV4=
golang.org/x/net v0.46.0/go.mod h1:Q9BGdFy1y4nkUwiLvT5qtyhAnEHgnQ/zd8PfU6nc210=
golang.org/x/oauth2 v0.33.0 h1:4Q+qn+E5z8gPRJfmRy7C2gGG3T4jIprK6aSYgTXGRpo=
golang.org/x/oauth2 v0.33.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
golang.org/x/oauth2 v0.34.0 h1:hqK/t4AKgbqWkdkcAeI8XLmbK+4m4G5YeQRrmiotGlw=
golang.org/x/oauth2 v0.34.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
Expand Down Expand Up @@ -325,5 +325,5 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
pgregory.net/rapid v1.0.0 h1:iQaM2w5PZ6xvt6x7hbd7tiDS+nk7YPp5uCaEba+T/F4=
pgregory.net/rapid v1.0.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk=
pgregory.net/rapid v1.2.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
132 changes: 64 additions & 68 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grafana-github-datasource",
"version": "2.4.0",
"version": "2.4.1",
"private": true,
"description": "The GitHub data source plugin for Grafana lets you to query the GitHub API in Grafana so you can visualize your GitHub repositories and projects.",
"repository": "github:grafana/github-datasource",
Expand All @@ -20,81 +20,77 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@emotion/css": "11.10.6",
"@grafana/data": "^12.2.0",
"@grafana/i18n": "^12.2.0",
"@grafana/plugin-ui": "^0.10.9",
"@grafana/runtime": "^12.2.0",
"@grafana/schema": "^12.2.0",
"@grafana/ui": "^12.2.0",
"@emotion/css": "11.13.5",
"@grafana/data": "12.3.1",
"@grafana/i18n": "12.3.1",
"@grafana/plugin-ui": "0.12.1",
"@grafana/runtime": "12.3.1",
"@grafana/schema": "12.3.1",
"@grafana/ui": "12.3.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"tslib": "2.5.3"
"tslib": "2.8.1"
},
"devDependencies": {
"@babel/core": "7.28.5",
"@changesets/cli": "^2.27.12",
"@grafana/e2e-selectors": "12.3.0",
"@grafana/eslint-config": "^8.2.0",
"@grafana/plugin-e2e": "3.1.0",
"@grafana/plugin-meta-extractor": "^0.11.0",
"@grafana/tsconfig": "^2.0.0",
"@playwright/test": "^1.52.0",
"@stylistic/eslint-plugin-ts": "^2.9.0",
"@swc/core": "^1.3.90",
"@swc/helpers": "^0.5.0",
"@swc/jest": "^0.2.26",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "6.1.4",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/glob": "^8.0.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.20",
"@types/node": "^20.8.7",
"@babel/core": "7.28.6",
"@changesets/cli": "2.29.8",
"@grafana/e2e-selectors": "12.3.1",
"@grafana/eslint-config": "9.0.0",
"@grafana/plugin-e2e": "3.1.3",
"@grafana/plugin-meta-extractor": "0.11.0",
"@grafana/tsconfig": "2.0.1",
"@playwright/test": "1.57.0",
"@stylistic/eslint-plugin-ts": "4.4.1",
"@swc/core": "1.15.10",
"@swc/helpers": "0.5.18",
"@swc/jest": "0.2.39",
"@testing-library/dom": "10.4.1",
"@testing-library/jest-dom": "6.9.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"@types/jest": "30.0.0",
"@types/lodash": "4.17.23",
"@types/node": "25.0.9",
"@types/react": "18.3.27",
"@types/react-dom": "18.3.7",
"@types/react-router-dom": "^5.2.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"copy-webpack-plugin": "^11.0.0",
"cspell": "6.31.3",
"css-loader": "^6.7.3",
"eslint": "^9.0.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jsdoc": "^51.2.3",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-webpack-plugin": "^5.0.0",
"fork-ts-checker-webpack-plugin": "^8.0.0",
"glob": "^11.0.0",
"@typescript-eslint/eslint-plugin": "8.53.1",
"@typescript-eslint/parser": "8.53.1",
"copy-webpack-plugin": "13.0.1",
"cspell": "9.6.0",
"css-loader": "7.1.2",
"eslint": "9.39.2",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-jsdoc": "62.2.0",
"eslint-plugin-prettier": "5.5.5",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.0.1",
"eslint-webpack-plugin": "5.0.2",
"fork-ts-checker-webpack-plugin": "9.1.0",
"glob": "13.0.0",
"identity-obj-proxy": "3.0.0",
"imports-loader": "^5.0.0",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"prettier": "^3.6.2",
"replace-in-file-webpack-plugin": "^1.0.6",
"rxjs": "^7.8.2",
"sass": "1.63.2",
"sass-loader": "13.3.3",
"semver": "^7.6.3",
"style-loader": "3.3.4",
"swc-loader": "^0.2.3",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-livereload-plugin": "^3.0.2",
"webpack-subresource-integrity": "^5.1.0",
"webpack-virtual-modules": "^0.6.2"
"imports-loader": "5.0.0",
"jest": "30.2.0",
"jest-environment-jsdom": "30.2.0",
"prettier": "3.8.0",
"replace-in-file-webpack-plugin": "1.0.6",
"rxjs": "7.8.2",
"sass": "1.97.2",
"sass-loader": "16.0.6",
"semver": "7.7.3",
"style-loader": "4.0.0",
"swc-loader": "0.2.7",
"terser-webpack-plugin": "5.3.16",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.9.3",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-livereload-plugin": "3.0.2",
"webpack-subresource-integrity": "5.1.0",
"webpack-virtual-modules": "0.6.2"
},
"resolutions": {
"js-yaml": "4.1.1",
"tmp": "0.2.5",
"brace-expansion": "2.0.2"
"@remix-run/router": "^1.23.2"
},
"packageManager": "yarn@4.9.3"
"packageManager": "yarn@4.12.0"
}
8 changes: 4 additions & 4 deletions pkg/github/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"time"

"github.com/bradleyfalzon/ghinstallation/v2"
googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/backend/httpclient"
"github.com/grafana/grafana-plugin-sdk-go/backend/proxy"
Expand Down Expand Up @@ -106,11 +106,11 @@ func createAccessTokenClient(ctx context.Context, settings models.Settings, opts
// only override the Transport if Secure Proxy is enabled.
transport, err := httpclient.GetTransport(opts)
if err != nil {
return nil, backend.DownstreamErrorf("error getting the transport: %w", err)
}
return nil, backend.DownstreamErrorf("error getting the transport: %w", err)
}

httpClient.Transport = &oauth2.Transport{
Base: transport,
Base: transport,
Source: oauth2.ReuseTokenSource(nil, src),
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/client/errorsourcehandling.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strconv"
"strings"

googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/backend"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/github/client/errorsourcehandling_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"syscall"
"testing"

googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/codescanning.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"time"

googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/data"

"github.com/grafana/github-datasource/pkg/models"
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/codescanning_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/backend"

"github.com/grafana/github-datasource/pkg/models"
Expand Down
2 changes: 1 addition & 1 deletion pkg/github/workflows.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"time"

googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/grafana/grafana-plugin-sdk-go/data"

Expand Down
2 changes: 1 addition & 1 deletion pkg/github/workflows_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

googlegithub "github.com/google/go-github/v72/github"
googlegithub "github.com/google/go-github/v81/github"
"github.com/grafana/grafana-plugin-sdk-go/backend"
"github.com/stretchr/testify/assert"
"pgregory.net/rapid"
Expand Down
Loading