Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Last active May 3, 2023 01:40
Show Gist options
  • Select an option

  • Save KyMidd/878d8fa3b67ffbdcd683793d9dcd3f33 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/878d8fa3b67ffbdcd683793d9dcd3f33 to your computer and use it in GitHub Desktop.
# Main function
def lambda_handler(event, context):
(removed)
# Get the PAT from secrets manager
PAT = get_secret("GitHubAccessToken", "us-east-1")
# Start the githubcop workflow
start_repo_cop_targeted(repo_name, PAT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment