Skip to content

Chore: Use get-vault-secrets without exporting env variables #1912

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

oshirohugo
Copy link
Contributor

@oshirohugo oshirohugo commented Jun 19, 2025

What this PR does / why we need it:

Moves the usage of get-vault-secrets to use step outputs instead of global env variables

Which issue(s) this PR fixes:

Part of https://github.com/grafana/grafana-community-team/issues/427

Special notes for your reviewer:

The usages of get-vault-secrets to get only NX_CLOUD_ACCESS_TOKEN where not replaced because NX_CLOUD_ACCESS_TOKEN needs to be in env

Copy link
Contributor

github-actions bot commented Jun 19, 2025

Hello! 👋 This repository uses Auto for releasing packages using PR labels.

✨ This PR can be merged. It will not be considered when calculating future versions of the npm packages and will not appear in the changelogs.

@oshirohugo oshirohugo self-assigned this Jun 19, 2025
@oshirohugo oshirohugo added the no-changelog Don't include in changelog and version calculations label Jun 19, 2025
@oshirohugo oshirohugo moved this from 📬 Triage to 🔬 In review in Plugins Platform / Grafana Community Jun 19, 2025

# As recommended on NX docs the NX Cloud token should be set as an environment variable:
# https://nx.dev/ci/recipes/security/access-tokens#setting-ci-access-tokens
- id: add-nx-cloud-access-token-to-env
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure where we are invoking NX so asking just in case: can we better pass this as env to the step we are running nx instead of defining it globally here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Don't include in changelog and version calculations
Projects
Status: 🔬 In review
Development

Successfully merging this pull request may close these issues.

2 participants