Skip to content

Commit

Permalink
use BOT_TOKEN DAT-19659 (#156)
Browse files Browse the repository at this point in the history
* test with TEST_BOT_TOKEN

* BOT_TOKEN_TEST

* BOT_TOKEN_TEST

* Update variables.tf

* Update push-to-repository.sh

* Update main.tf

* Update push-to-repository.sh

* Update variables.tf

* Update push-to-repository.sh

* Update push-to-repository.sh

* Update variables.tf

* changing the value of TF_VAR_BOT_TOKEN in spacelift to BOT_TOKEN value from BW

* GHA_GENERATOR_ADMIN_TOKEN to BOT_TOKEN

* Update push-to-repository.sh to check for BOT_TOKEN_TEST instead of BOT_TOKEN

* Rename BOT_TOKEN to BOT_TOKEN_TEST in workflow and configuration files

* Rename BOT_TOKEN_TEST to BOT_TOKEN in workflow, scripts, and configuration files

* Rename BOT_TOKEN to GHA_GENERATOR_TOKEN in workflow and Terraform files

* Rename GHA_GENERATOR_TOKEN to BOT_TOKEN in workflow and Terraform files
  • Loading branch information
sayaliM0412 authored Feb 21, 2025
1 parent 8fabdf2 commit 8c17922
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Generate Action


on:
workflow_dispatch:

Expand Down Expand Up @@ -27,7 +28,7 @@ jobs:

create-action-repo:
env:
TF_VAR_BOT_TOKEN: ${{ secrets.GHA_GENERATOR_ADMIN_TOKEN }}
TF_VAR_BOT_TOKEN: ${{ secrets.BOT_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 variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
variable "BOT_TOKEN" {
type = string
description = "LiquiBot GitHub Token"
}
}

0 comments on commit 8c17922

Please sign in to comment.