Skip to content

Commit 413ed4e

Browse files
committed
changing the way token gets passed
1 parent 361638f commit 413ed4e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/build-citus-community-nightlies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Build packages
7373
run: |
7474
python -m tools.packaging_automation.citus_package \
75-
--gh_token "${GH_TOKEN}" \
75+
--gh_token "${{ steps.app.outputs.token }}" \
7676
--platform "${{ matrix.platform }}" \
7777
--build_type "nightly" \
7878
--secret_key "${PACKAGING_SECRET_KEY}" \

packaging_automation/tests/test_citus_package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
TEST_GPG_KEY_NAME = "Citus Data <packaging@citusdata.com>"
6262
TEST_GPG_KEY_PASSPHRASE = os.getenv("PACKAGING_PASSPHRASE")
63-
GH_TOKEN = os.getenv("GH_TOKEN")
63+
GH_TOKEN = os.environ("GH_TOKEN")
6464
PACKAGE_CLOUD_API_TOKEN = os.getenv("PACKAGE_CLOUD_API_TOKEN")
6565
REPO_CLIENT_SECRET = os.getenv("REPO_CLIENT_SECRET")
6666
PLATFORM = get_build_platform(

0 commit comments

Comments
 (0)