Skip to content

Commit abf32eb

Browse files
committed
refactor: rename TOKEN_GITHUB into GH_TOKEN
1 parent bca05d2 commit abf32eb

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

.github/workflows/gh_delete_branch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
- name: Checkout repository
4040
uses: actions/checkout@v4
4141
with:
42-
token: ${{ secrets.TOKEN_GITHUB }}
42+
token: ${{ secrets.GH_TOKEN }}
4343

4444
- name: Dump GitHub context
4545
env:

.github/workflows/gh_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
if: github.event_name == 'release' && success()
1717
env:
18-
GH_TOKEN: ${{ secrets.TOKEN_GITHUB }}
18+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
1919
steps:
2020
- name: Publish Release
2121
run: |
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
if: github.event_name == 'release' && failure() || cancelled()
3434
env:
35-
GH_TOKEN: ${{ secrets.TOKEN_GITHUB }}
35+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
3636
steps:
3737
- name: Delete Prerelease
3838
run: |

.github/workflows/k8s_deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ jobs:
3535
- name: Checkout
3636
uses: actions/checkout@v4
3737
with:
38-
token: ${{ secrets.TOKEN_GITHUB }}
38+
token: ${{ secrets.GH_TOKEN }}
3939
repository: ${{ github.repository_owner }}/${{ env.KUBERNETES_CLUSTER_REPO_NAME }}
4040
ref: refs/heads/dev
4141

4242
- name: GitHub Configuration
43-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
43+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
4444

4545
- name: Clone cicd-deployment-scripts
4646
run: git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git

.github/workflows/k8s_destroy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/checkout@v4
2929

3030
- name: GitHub Configuration
31-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
31+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
3232

3333
- name: Clone cicd-deployment-scripts
3434
run: git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git

.github/workflows/k8s_exec_env_pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: actions/checkout@v4
2828

2929
- name: GitHub Configuration
30-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
30+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
3131

3232
# Install the latest version of Kubernetes CLI and configure the Kubernetes CLI configuration file with a Kubernetes Cloud user API token
3333
- name: Azure Login

.github/workflows/k8s_inference_reload_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/checkout@v4
2626

2727
- name: GitHub Configuration
28-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
28+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
2929

3030
# Install the latest version of Kubernetes CLI and configure the Kubernetes CLI configuration file with a Kubernetes Cloud user API token
3131
- name: Azure Login

.github/workflows/k8s_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/checkout@v4
3838

3939
- name: GitHub Configuration
40-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
40+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
4141

4242
- name: Clone cicd-deployment-scripts
4343
run: git clone https://github.com/code-kern-ai/cicd-deployment-scripts.git

.github/workflows/tf_plan_apply.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
tofu_wrapper: false
4444

4545
- name: GitHub Configuration
46-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
46+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
4747

4848
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
4949
- name: OpenTofu Init
@@ -108,7 +108,7 @@ jobs:
108108
uses: opentofu/setup-opentofu@v1
109109

110110
- name: GitHub Configuration
111-
run: git config --global url."https://oauth2:${{ secrets.TOKEN_GITHUB }}@github.com".insteadOf https://github.com
111+
run: git config --global url."https://oauth2:${{ secrets.GH_TOKEN }}@github.com".insteadOf https://github.com
112112

113113
# Initialize a new or existing OpenTofu working directory by creating initial files, loading any remote state, downloading modules, etc.
114114
- name: OpenTofu Init

.github/workflows/tf_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ jobs:
1313
steps:
1414
- uses: googleapis/release-please-action@v4
1515
with:
16-
token: ${{ secrets.TOKEN_GITHUB }}
16+
token: ${{ secrets.GH_TOKEN }}
1717
release-type: terraform-module

0 commit comments

Comments
 (0)