Skip to content

Commit

Permalink
dont make PAT token an env var
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Feb 17, 2025
1 parent 48b22d7 commit 594f232
Show file tree
Hide file tree
Showing 99 changed files with 99 additions and 198 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check_make_vtadmin_authz_testgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ permissions: read-all

env:
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -60,7 +59,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.vtadmin_changes == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Tune the OS
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.vtadmin_changes == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/check_make_vtadmin_web_proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ permissions: read-all

env:
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -62,7 +61,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.proto_changes == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Setup Node
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.proto_changes == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_backup_pitr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_mysql80.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_mysql_server_vault.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_onlineddl_revert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_onlineddl_scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_onlineddl_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_onlineddl_vrepl_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_schemadiff_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_tabletmanager_consul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/cluster_endtoend_tabletmanager_tablegc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ env:
LAUNCHABLE_WORKSPACE: "vitess-app"
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
GOPRIVATE: "github.com/slackhq/vitess-addons"
GH_ACCESS_TOKEN: "${{ secrets.GH_ACCESS_TOKEN }}"

jobs:
build:
Expand Down Expand Up @@ -83,7 +82,7 @@ jobs:

- name: Setup github.com/slackhq/vitess-additions access token
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
run: git config --global url.https://$GH_ACCESS_TOKEN@github.com/.insteadOf https://github.com/
run: git config --global url.https://${{ secrets.GH_ACCESS_TOKEN }}@github.com/.insteadOf https://github.com/

- name: Set up python
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand Down
Loading

0 comments on commit 594f232

Please sign in to comment.