Skip to content

ci: update environment assignment for terratest jobs in workflow#183

Merged
l50 merged 1 commit intomainfrom
ci/scope-terratest-env-gate-to-l50
May 8, 2026
Merged

ci: update environment assignment for terratest jobs in workflow#183
l50 merged 1 commit intomainfrom
ci/scope-terratest-env-gate-to-l50

Conversation

@l50
Copy link
Copy Markdown
Contributor

@l50 l50 commented May 8, 2026

Key Changes:

  • Modified environment assignment logic in terratest workflow jobs
  • Improved compatibility for PRs from forks and specific users
  • Enhanced CI security by conditionally setting environment context

Changed:

  • Updated the environment field in the net and instance-factory jobs of .github/workflows/terratest.yaml to use a conditional assignment. The environment is now only set to terratest unless the actor is l50 and the PR is not from a fork, in which case it is unset. This change helps prevent exposure of environment secrets to forks and customizes workflow behavior based on the PR context.

…nd fork status

**Changed:**

- Updated environment assignment for 'net' and 'instance-factory' jobs to set the environment to empty when the actor is 'l50' and the PR is not from a fork, otherwise use 'terratest' - .github/workflows/terratest.yaml
@dreadnode-renovate-bot dreadnode-renovate-bot Bot added the area/github Changes made to github actions label May 8, 2026
@l50 l50 merged commit f269ab2 into main May 8, 2026
7 checks passed
@l50 l50 deleted the ci/scope-terratest-env-gate-to-l50 branch May 8, 2026 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/github Changes made to github actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant