Skip to content

Commit 21487e1

Browse files
authored
Merge pull request #221 from jmeridth/jm-github-app-auth
feat: authenticate with github app installation and repo standardization
2 parents dcbe668 + ad44a93 commit 21487e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1523
-298
lines changed

.devcontainer/devcontainer.json

-14
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,13 @@
1-
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2-
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-dockerfile
31
{
42
"name": "Existing Dockerfile",
53
"build": {
6-
// Sets the run context to one level up instead of the .devcontainer folder.
74
"context": "..",
85
"dockerfile": "../Dockerfile"
96
},
107

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

16-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
17-
// "forwardPorts": [],
18-
19-
// Use 'postCreateCommand' to run commands after the container is created.
20-
// "postCreateCommand": "echo hello",
21-
22-
// Configure tool-specific properties.
23-
// "customizations": {},
24-
25-
// Connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
2612
"remoteUser": "devcontainer"
2713
}

.env-example

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1-
GH_TOKEN = " "
2-
SEARCH_QUERY = "repo:owner/repo is:open is:issue"
3-
LABELS_TO_MEASURE = "waiting-for-review,waiting-for-manager"
1+
GH_APP_ID=""
2+
GH_APP_INSTALLATION_ID=""
3+
GH_APP_PRIVATE_KEY=""
4+
GH_ENTERPRISE_URL = ""
5+
GH_TOKEN = ""
6+
HIDE_AUTHOR = "false"
7+
HIDE_LABEL_METRICS = "false"
8+
HIDE_TIME_TO_ANSWER = "false"
9+
HIDE_TIME_TO_CLOSE = "false"
10+
HIDE_TIME_TO_FIRST_RESPONSE = "false"
411
IGNORE_USERS = "user1,user2"
12+
LABELS_TO_MEASURE = "waiting-for-review,waiting-for-manager"
13+
SEARCH_QUERY = "repo:owner/repo is:open is:issue"

.github/linters/.flake8

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[flake8]
2+
exclude = venv,.venv,.git,__pycache__
3+
extend-ignore = C901
4+
max-line-length = 150
5+
statistics = True

.github/linters/.isort.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[settings]
2+
profile = black

.github/linters/.mypy.ini

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[mypy]
2+
disable_error_code = attr-defined, import-not-found
3+
4+
[mypy-github3.*]
5+
ignore_missing_imports = True

0 commit comments

Comments
 (0)