Skip to content

Add rule to test for git_token

Sander Brienen requested to merge test-git-token into master

I've added rules to the jobs using the GIT_TOKEN var to never run the job when the token is not available.

The tokens are typically configured to be only available on the protected (default) branch. This makes the token unavailable on feature branches, resulting in pipeline errors. The current tests avoid this error.

Merge request reports

Loading