Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update base image to newer python version #22

Merged
merged 1 commit into from
Jun 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8-slim-buster
FROM python:3.11-slim
LABEL org.opencontainers.image.source https://github.com/github/issue-metrics

WORKDIR /action/workspace
Expand Down
2 changes: 1 addition & 1 deletion issue_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_average_time_to_close(

def get_per_issue_metrics(
issues: List[github3.issues.Issue], # type: ignore
) -> tuple[List[IssueWithMetrics], int, int]:
) -> tuple[List, int, int]:
"""
Calculate the metrics for each issue in a list of GitHub issues.

Expand Down