code: def frigg(branch: str):
      
      assert os.environ.get('FRIGG_BUILD_BRANCH') == branch
      assert not os.environ.get('FRIGG_PULL_REQUEST')
docs: Performs necessary checks to ensure that the frigg build is one
      that should create releases.
  
      :param branch: The branch the environment should be running against.