Skip to content

test: remove secrets from PR integration tests - #484

Open
AaronFeledy wants to merge 4 commits into
mainfrom
test/secretless-integration-tests
Open

test: remove secrets from PR integration tests#484
AaronFeledy wants to merge 4 commits into
mainfrom
test/secretless-integration-tests

Conversation

@AaronFeledy

@AaronFeledy AaronFeledy commented Aug 6, 2026

Copy link
Copy Markdown
Member

What does this do?

Removes repository-secret requirements from the GitHub init and plugin Leia tests so they can run for fork pull requests.

  • preserves the deploy key for trusted branches and generates an ephemeral key for fork PR jobs
  • allows the GitHub init source to clone explicit public HTTPS repositories without creating or uploading an SSH key
  • rewrites the init-github Leia test to use a public HTTPS clone without mutating a real GitHub account
  • replaces the GitHub Packages plugin fixture with an authenticated, disposable Verdaccio registry
  • restores init-github and plugins coverage for fork PRs
  • removes the privileged GitHub PAT from the workflow

The l337 and lando-v4 suites continue to be skipped on forks because they intentionally verify authenticated SSH cloning. Trusted branches retain that coverage with the deploy key.

SSH GitHub initialization remains unchanged and is covered alongside the new HTTPS behavior by unit tests.

Testing

  • full unit suite
  • full lint suite
  • GitHub source unit tests
  • Verdaccio account creation, package publish, lookup, and npm-profile login flow
  • workflow and Verdaccio YAML parsing
  • git diff --check

The exact Docker-backed Verdaccio Leia flow is left to CI because Docker is not installed in the local execution environment.

@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for lando-core ready!

Name Link
🔨 Latest commit 729049b
🔍 Latest deploy log https://app.netlify.com/projects/lando-core/deploys/6a74c8280d8f570007a8ce0f
😎 Deploy Preview https://deploy-preview-484--lando-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 77 (🔴 down 2 from production)
Accessibility: 89 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant