Skip to content

Commit

Permalink
Rename BOT_TOKEN to GHA_GENERATOR_TOKEN in workflow and Terraform files
Browse files Browse the repository at this point in the history
  • Loading branch information
sayaliM0412 committed Feb 20, 2025
1 parent f34fd85 commit 68ab963
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

create-action-repo:
env:
TF_VAR_BOT_TOKEN: ${{ secrets.BOT_TOKEN }}
TF_VAR_BOT_TOKEN: ${{ secrets.GHA_GENERATOR_TOKEN }}
TF_TOKEN_spacelift_io: ${{ secrets.SPACELIFT_API_KEY }}
SPACELIFT_API_KEY_ENDPOINT: ${{ secrets.SPACELIFT_API_KEY_ENDPOINT }}
SPACELIFT_API_KEY_ID: ${{ secrets.SPACELIFT_API_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ terraform {
}

provider "github" {
token = var.BOT_TOKEN
token = var.GHA_GENERATOR_TOKEN
owner = "liquibase-github-actions"
}

Expand Down
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# export TF_VAR_BOT_TOKEN="..."
variable "BOT_TOKEN" {
# export TF_VAR_GHA_GENERATOR_TOKEN="..."
variable "GHA_GENERATOR_TOKEN" {
type = string
description = "LiquiBot GitHub Token"
}

0 comments on commit 68ab963

Please sign in to comment.