Skip to content

Commit

Permalink
Merge pull request #221 from jmeridth/jm-github-app-auth
Browse files Browse the repository at this point in the history
feat: authenticate with github app installation and repo standardization
  • Loading branch information
zkoppert authored Mar 26, 2024
2 parents dcbe668 + ad44a93 commit 21487e1
Show file tree
Hide file tree
Showing 45 changed files with 1,523 additions and 298 deletions.
14 changes: 0 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,13 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
{
"name": "Existing Dockerfile",
"build": {
// Sets the run context to one level up instead of the .devcontainer folder.
"context": "..",
"dockerfile": "../Dockerfile"
},

// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {}
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "echo hello",

// Configure tool-specific properties.
// "customizations": {},

// Connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "devcontainer"
}
15 changes: 12 additions & 3 deletions .env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
GH_TOKEN = " "
SEARCH_QUERY = "repo:owner/repo is:open is:issue"
LABELS_TO_MEASURE = "waiting-for-review,waiting-for-manager"
GH_APP_ID=""
GH_APP_INSTALLATION_ID=""
GH_APP_PRIVATE_KEY=""
GH_ENTERPRISE_URL = ""
GH_TOKEN = ""
HIDE_AUTHOR = "false"
HIDE_LABEL_METRICS = "false"
HIDE_TIME_TO_ANSWER = "false"
HIDE_TIME_TO_CLOSE = "false"
HIDE_TIME_TO_FIRST_RESPONSE = "false"
IGNORE_USERS = "user1,user2"
LABELS_TO_MEASURE = "waiting-for-review,waiting-for-manager"
SEARCH_QUERY = "repo:owner/repo is:open is:issue"
5 changes: 5 additions & 0 deletions .github/linters/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
exclude = venv,.venv,.git,__pycache__
extend-ignore = C901
max-line-length = 150
statistics = True
2 changes: 2 additions & 0 deletions .github/linters/.isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[settings]
profile = black
5 changes: 5 additions & 0 deletions .github/linters/.mypy.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mypy]
disable_error_code = attr-defined, import-not-found

[mypy-github3.*]
ignore_missing_imports = True
Loading

0 comments on commit 21487e1

Please sign in to comment.