Using TravisCI with environment variables in PRs across forks

The Pairboard app uses TravisCI and has GitHub auth environment variables.

This works when I push commits or merge my own PRs, but PRs from other contributors don’t have access to the environment variables saved on Travis.

Has anyone worked around this issue before? It feels like it must be a solved problem, but I haven’t had much luck thinking of a fix just yet.

See https://docs.travis-ci.com/user/pull-requests/#Pull-Requests-and-Security-Restrictions

Edit:

Issue is here: https://github.com/Pairboard/Pairboard/issues/32

Solved by @BenGitter

1 Like