Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for pull_request (0.2 sec)

  1. .github/actions/notify-translations/app/main.py

            "race conditions and multiple comments"
        )
        time.sleep(sleep_time)
    
        # Get PR
        logging.debug(f"Processing PR: #{github_event.pull_request.number}")
        pr = repo.get_pull(github_event.pull_request.number)
        label_strs = {label.name for label in pr.get_labels()}
        langs = []
        for label in label_strs:
            if label.startswith("lang-") and not label == lang_all_label:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Sep 27 23:01:46 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  2. .github/actions/people/app/main.py

        comments: Comments
        reviews: Reviews
    
    
    class PullRequestEdge(BaseModel):
        cursor: str
        node: PullRequestNode
    
    
    class PullRequests(BaseModel):
        edges: List[PullRequestEdge]
    
    
    class PRsRepository(BaseModel):
        pullRequests: PullRequests
    
    
    class PRsResponseData(BaseModel):
        repository: PRsRepository
    
    
    class PRsResponse(BaseModel):
        data: PRsResponseData
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Mar 26 17:38:21 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  3. .github/actions/comment-docs-preview-in-pr/app/main.py

    import logging
    import sys
    from pathlib import Path
    from typing import Union
    
    import httpx
    from github import Github
    from github.PullRequest import PullRequest
    from pydantic import BaseModel, SecretStr, ValidationError
    from pydantic_settings import BaseSettings
    
    github_api = "https://api.github.com"
    
    
    class Settings(BaseSettings):
        github_repository: str
        github_event_path: Path
        github_event_name: Union[str, None] = None
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Jan 09 15:02:53 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top