Lines Matching +full:github +full:- +full:token
7 # http://www.apache.org/licenses/LICENSE-2.0
24 # pylint: disable=wrong-import-position,import-error
62 # given to OSS-Fuzz users by not making them specify the language again (and
69 # pylint: disable=too-few-public-methods,too-many-instance-attributes
86 def token(self): member in BaseCiEnvironment
87 """Returns the CI API token."""
118 def token(self): member in GenericCiEnvironment
119 """Returns the CI API token."""
120 return os.getenv('TOKEN')
131 """CI environment for GitHub."""
144 def token(self): member in GithubEnvironment
145 """Returns the CI API token."""
152 on github the checkout will be relative to there."""
153 # On GitHub, they don't know the absolute path, it is relative to
164 # On GitHub this includes owner and repo name.
179 EXTERNAL_GITHUB = 0 # Non-OSS-Fuzz on GitHub actions.
180 INTERNAL_GITHUB = 1 # OSS-Fuzz on GitHub actions.
181 INTERNAL_GENERIC_CI = 2 # OSS-Fuzz on any CI.
182 EXTERNAL_GENERIC_CI = 3 # Non-OSS-Fuzz on any CI.
188 logging.debug('Is github: %s.', self.is_github)
207 self.token = self._ci_env.token
221 # Do validation here so that unittests don't need to make a fully-valid
241 """Returns True if this is an OSS-Fuzz project."""
313 with open(self._github_event_path, encoding='utf-8') as file_handle:
326 are set by GitHub or the user."""
342 # pylint: disable=consider-using-ternary