Skip to content

Commit 6adfb9b

Browse files
committed
feat: create python action framework
Signed-off-by: Zack Koppert <zkoppert@github.com>
0 parents  commit 6adfb9b

40 files changed

+2034
-0
lines changed

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit = test*.py

.devcontainer/devcontainer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"name": "Existing Dockerfile",
3+
"build": {
4+
"context": "..",
5+
"dockerfile": "../Dockerfile"
6+
},
7+
8+
"features": {
9+
"ghcr.io/devcontainers/features/common-utils:2": {}
10+
},
11+
12+
"remoteUser": "devcontainer"
13+
}

.env-example

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
GH_APP_ID=""
2+
GH_APP_INSTALLATION_ID=""
3+
GH_APP_PRIVATE_KEY=""
4+
GITHUB_APP_ENTERPRISE_ONLY=""
5+
GH_ENTERPRISE_URL = ""
6+
GH_TOKEN = ""
7+
OUTPUT_FILE = ""
8+
REPORT_TITLE = ""

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @github/ospo-github-actions
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: Bug report
3+
description: Create a report to help us improve
4+
labels:
5+
- bug
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Describe the bug
10+
description: A clear and concise description of what the bug is.
11+
validations:
12+
required: true
13+
14+
- type: textarea
15+
attributes:
16+
label: To Reproduce
17+
description: Steps to reproduce the behavior
18+
placeholder: |
19+
1. Go to '...'
20+
2. Click on '....'
21+
3. Scroll down to '....'
22+
4. See error
23+
validations:
24+
required: true
25+
26+
- type: textarea
27+
attributes:
28+
label: Expected behavior
29+
description: A clear and concise description of what you expected to happen.
30+
validations:
31+
required: true
32+
33+
- type: textarea
34+
attributes:
35+
label: Screenshots
36+
description: If applicable, add screenshots to help explain your problem.
37+
validations:
38+
required: false
39+
40+
- type: textarea
41+
attributes:
42+
label: Additional context
43+
description: Add any other context about the problem here.
44+
validations:
45+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
blank_issues_enabled: false
2+
3+
contact_links:
4+
- name: Ask a question
5+
url: https://github.com/github/measure-innersource/discussions/new
6+
about: Ask a question or start a discussion
7+
- name: GitHub OSPO GitHub Action Overall Issue
8+
url: https://github.com/github/github-ospo/issues/new
9+
about: File issue for multiple GitHub OSPO GitHub Actions
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Feature request
3+
description: Suggest an idea for this project
4+
labels:
5+
- enhancement
6+
body:
7+
- type: textarea
8+
attributes:
9+
label: Is your feature request related to a problem?
10+
description: A clear and concise description of what the problem is. Please describe.
11+
placeholder: |
12+
Ex. I'm always frustrated when [...]
13+
validations:
14+
required: false
15+
16+
- type: textarea
17+
attributes:
18+
label: Describe the solution you'd like
19+
description: A clear and concise description of what you want to happen.
20+
validations:
21+
required: true
22+
23+
- type: textarea
24+
attributes:
25+
label: Describe alternatives you've considered
26+
description: A clear and concise description of any alternative solutions or features you've considered.
27+
validations:
28+
required: false
29+
30+
- type: textarea
31+
attributes:
32+
label: Additional context
33+
description: Add any other context or screenshots about the feature request here.
34+
validations:
35+
required: false

.github/dependabot.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
version: 2
3+
updates:
4+
- package-ecosystem: "pip" # See documentation for possible values
5+
directory: "/" # Location of package manifests
6+
schedule:
7+
interval: "weekly"
8+
commit-message:
9+
prefix: "chore(deps)"
10+
groups:
11+
dependencies:
12+
applies-to: version-updates
13+
update-types:
14+
- "minor"
15+
- "patch"
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
interval: "weekly"
20+
commit-message:
21+
prefix: "chore(deps)"
22+
groups:
23+
dependencies:
24+
applies-to: version-updates
25+
update-types:
26+
- "minor"
27+
- "patch"
28+
- package-ecosystem: "docker"
29+
directory: "/"
30+
schedule:
31+
interval: "weekly"
32+
commit-message:
33+
prefix: "chore(deps)"
34+
groups:
35+
dependencies:
36+
applies-to: version-updates
37+
update-types:
38+
- "minor"
39+
- "patch"

.github/linters/.flake8

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

.github/linters/.isort.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[settings]
2+
profile = black

0 commit comments

Comments
 (0)