Skip to content

Conversation

@motatoes
Copy link
Contributor

Summary

  • Switch backend_test.yml and ee_backend_test.yml to use OIDC authentication instead of DEPOT_TOKEN secret, enabling fork PRs to run CI
  • Skip staging-deploy.yml for fork PRs since external contributors shouldn't trigger staging deployments

Changes

Workflow Change Behavior for Fork PRs
backend_test.yml OIDC auth Runs with OIDC tokens
ee_backend_test.yml OIDC auth Runs with OIDC tokens
staging-deploy.yml Skip condition Skipped entirely

Manual Step Required

Configure Trust Relationships in Depot project settings to enable OIDC for pull_request builds from forks:

  • Project f11hp4hlmg (backend)
  • Project kcld4zgwzx (ee_backend)

Go to each project's settings → Trust Relationships → Enable access for pull_request builds from forks.

Test plan

  • Configure Depot Trust Relationships for both projects
  • Merge this PR
  • Test with an external fork PR to verify CI runs successfully

🤖 Generated with Claude Code

- Switch backend_test.yml and ee_backend_test.yml to use OIDC auth
  instead of DEPOT_TOKEN secret (works for fork PRs)
- Skip staging-deploy.yml for fork PRs (external contributors shouldn't
  trigger staging deployments)

Note: Depot project settings need Trust Relationships enabled for
pull_request builds from forks.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants