-
Notifications
You must be signed in to change notification settings - Fork 0
Add pre-commit #123
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
Add pre-commit #123
Conversation
Review these changes at https://app.gitnotebooks.com/AlphaSphereDotAI/vocalizr/pull/123 |
Reviewer's GuideThis PR integrates a pre-commit verification step into the CI pipeline by adding a dedicated job and updating downstream job dependencies in the GitHub Actions workflow. Flow diagram for pre-commit job steps in CIflowchart TD
A[Start pre-commit job] --> B[Checkout repository]
B --> C[Setup Python 3.x]
C --> D[Run pre-commit checks]
D --> E[Run pre-commit-ci lite action]
E --> F[End pre-commit job]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
WalkthroughThis update introduces several new configuration files for IDE and automation tools, restructures and refines GitHub Actions workflows by pinning action versions, consolidates pre-commit checks, and adds new workflows for dependency management and automated formatting upgrades. It also enhances concurrency controls and updates event triggers across workflows. Changes
Sequence Diagram(s)sequenceDiagram
participant Developer
participant GitHub Actions
participant Pre-commit
participant Trunk
participant Dependabot
Developer->>GitHub Actions: Push/PR/Release/Dispatch
GitHub Actions->>Pre-commit: Run pre-commit hooks (code_analysis.yaml)
GitHub Actions->>Trunk: Run Trunk job (if applicable)
GitHub Actions->>Dependabot: Weekly dependency check (dependabot.yaml)
GitHub Actions->>GitHub Actions: Enforce concurrency group (one run per branch/workflow)
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (8)
💤 Files with no reviewable changes (3)
🚧 Files skipped from review as they are similar to previous changes (3)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Here's the code health analysis summary for commits Analysis Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new pre-commit job to the GitHub Actions workflow to integrate pre-commit hooks into the CI process.
- Introduces a dedicated pre-commit job with checkout, Python setup, and two pre-commit actions
- Updates the dependency chain for the subsequent job by adding the pre-commit job
.github/workflows/code_analysis.yml
Outdated
python-version: 3.x | ||
- uses: pre-commit/[email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding an inline comment to clarify the need for using both pre-commit actions, which could help future maintainers understand their distinct roles within the workflow.
python-version: 3.x | |
- uses: pre-commit/[email protected] | |
python-version: 3.x | |
# Run pre-commit hooks locally to ensure code quality checks are performed. | |
- uses: pre-commit/[email protected] | |
# Ensure compliance with pre-commit checks, even if they fail locally. |
Copilot uses AI. Check for mistakes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
♻️ Duplicate comments (1)
.github/workflows/code_analysis.yml (1)
20-22
: Clarify responsibilities of pre-commit steps
It’s not immediately obvious why bothpre-commit/action
andpre-commit-ci/lite-action
are used. Consider adding inline comments to explain their distinct roles (e.g., local hook enforcement vs. CI reporting).
🧹 Nitpick comments (1)
.github/workflows/code_analysis.yml (1)
16-17
: Standardize action version pinning
Thepre-commit
job uses floating tags foractions/checkout
andactions/setup-python
, whereas other jobs pin to specific SHAs. For reproducibility, consider unifying the pinning strategy across all jobs.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
.github/mergify.yml
(1 hunks).github/workflows/code_analysis.yml
(2 hunks)
🧰 Additional context used
🪛 actionlint (1.7.7)
.github/workflows/code_analysis.yml
16-16: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
17-17: the runner of "actions/setup-python@v4" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Build and push Docker image
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
🔇 Additional comments (3)
.github/workflows/code_analysis.yml (2)
12-14
: Add dedicated pre-commit CI job
The newpre-commit
job is correctly configured under the workflow’sjobs
to enforce pre-commit hooks on both push and PR events.
47-47
: Ensuretrunk
waits for pre-commit
Updatingtrunk
to depend onpre-commit
ensures that code quality gates run before the main analysis. This correctly enforces the CI order..github/mergify.yml (1)
72-72
: IncludePre-commit
in Mergify queue rules
Adding thePre-commit
check ensures Mergify will only merge when the new CI job passes. Confirm that the check name exactly matches the workflow’s job name (Pre-commit
).
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
♻️ Duplicate comments (1)
.github/workflows/code_analysis.yml (1)
14-24
: Clarify the dual pre-commit steps
It’s not immediately obvious why bothpre-commit/action
(hooks execution) andpre-commit-ci/lite-action
(CI annotation) are run. Adding an inline comment will help future maintainers understand their distinct roles.Example:
- uses: pre-commit/[email protected] # Run hooks locally (checks & fixes) - uses: pre-commit-ci/[email protected] # Annotate PR with hook results
🧹 Nitpick comments (2)
.github/workflows/code_analysis.yml (2)
38-43
: Guard the commit step against no-op failures
Iftrunk fmt
makes no changes,git commit
will error and fail the job. Add a check so the commit only runs when there are modifications.Proposed diff:
- git commit -m "Formatting" + git diff --quiet || git commit -m "Formatting"
50-50
: Review job ordering between formatting and pre-commit
Right now,trunk
waits on bothformat_codebase
andpre-commit
in parallel. This can surface pre-commit failures on issues that the format step would auto-fix. Consider changing the dependency graph so formatting runs before the pre-commit checks to avoid redundant failures.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/code_analysis.yml
(2 hunks)
🧰 Additional context used
🪛 actionlint (1.7.7)
.github/workflows/code_analysis.yml
18-18: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
21-21: the runner of "actions/setup-python@v4" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: Build and push Docker image
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
♻️ Duplicate comments (1)
.github/workflows/code_analysis.yml (1)
23-25
: Add inline comments explaining both pre-commit actions.Clarify that
pre-commit/action
runs hooks locally, andpre-commit-ci/lite-action
enforces them on CI with annotations.
🧹 Nitpick comments (1)
.github/workflows/code_analysis.yml (1)
33-35
: Unify checkout action version usage.In the
format_codebase
job you pinactions/checkout
to a commit SHA, while thepre-commit
job usesactions/checkout@v3
. For consistency and maintainability, consider using the same version pattern across all jobs.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/code_analysis.yml
(2 hunks)
🧰 Additional context used
🪛 actionlint (1.7.7)
.github/workflows/code_analysis.yml
19-19: the runner of "actions/checkout@v3" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
22-22: the runner of "actions/setup-python@v4" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Build and push Docker image
- GitHub Check: Pre-commit
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
🔇 Additional comments (2)
.github/workflows/code_analysis.yml (2)
10-13
: Added pull-requests permission for annotation support.This grants
pre-commit-ci/lite-action
the required permission to annotate pull requests, satisfying previous permission issues.
52-52
: Include pre-commit in trunk job dependencies.This ensures that pre-commit checks pass before quality analysis. Good integration.
.github/workflows/code_analysis.yml
Outdated
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- uses: actions/setup-python@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify the Python version in setup-python.
The actions/setup-python@v4
step requires a python-version
input (e.g., 3.x
) to install the correct interpreter.
Apply this diff:
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v4
+ with:
+ python-version: 3.x
🧰 Tools
🪛 actionlint (1.7.7)
22-22: the runner of "actions/setup-python@v4" action is too old to run on GitHub Actions. update the action's version to fix this issue
(action)
🤖 Prompt for AI Agents
In .github/workflows/code_analysis.yml at line 22, the setup-python action is
missing the required python-version input. Add a python-version field with the
desired version (e.g., '3.x') to the uses step to specify which Python
interpreter version to install.
- Added `.github/dependabot.yaml` for automated dependency updates. - Updated `.github/workflows/huggingface.yaml` to replace `push` trigger with `workflow_dispatch` and `release` triggers. - Introduced `.github/workflows/trunk_upgrade.yaml` to schedule Trunk Check upgrades. - Enhanced `.github/workflows/docker.yaml` and `.github/workflows/github.yaml` with version-specific dependency references and concurrency groups. - Refined `.github/workflows/code_analysis.yaml` for improved readability and order of needs. - Integrated IntelliJ IDEA project-specific configurations under `.idea/`.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (5)
.github/workflows/code_analysis.yaml (2)
38-38
: Unifyactions/checkout
version specification.The
pre-commit
job uses@v4
whiletrunk
uses a commit SHA pinned tov4
. Consider standardizing your pinning approach for consistency.
61-61
: Alignsetup-uv
action version across jobs.The
compatibility
job pinsastral-sh/setup-uv
to a different commit thantrunk
. Using a single commit SHA for both jobs will avoid version drift..github/workflows/huggingface.yaml (2)
11-11
: Restrict broadread-all
permission.Granting
read-all
is overly permissive. Consider least-privilege scopes (e.g.,contents: read
) where possible.
23-23
: Pinsetup-uv
action commit.Good for stability—verify this SHA matches the one used in other workflows if needed.
.github/workflows/github.yaml (1)
47-47
: Pinsetup-uv
action commit.Pinning is good practice; ensure you align this SHA with others for consistency.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (13)
.github/dependabot.yaml
(1 hunks).github/workflows/code_analysis.yaml
(2 hunks).github/workflows/docker.yaml
(3 hunks).github/workflows/github.yaml
(3 hunks).github/workflows/huggingface.yaml
(2 hunks).github/workflows/trunk_upgrade.yaml
(1 hunks).idea/.gitignore
(1 hunks).idea/VoiceGenerator.iml
(1 hunks).idea/dictionaries/project.xml
(1 hunks).idea/inspectionProfiles/profiles_settings.xml
(1 hunks).idea/modules.xml
(1 hunks).idea/ruff.xml
(1 hunks).idea/vcs.xml
(1 hunks)
✅ Files skipped from review due to trivial changes (9)
- .idea/VoiceGenerator.iml
- .idea/vcs.xml
- .idea/dictionaries/project.xml
- .idea/inspectionProfiles/profiles_settings.xml
- .idea/ruff.xml
- .idea/modules.xml
- .github/dependabot.yaml
- .github/workflows/trunk_upgrade.yaml
- .idea/.gitignore
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Trunk Code Quality
- GitHub Check: Build and push Docker image
- GitHub Check: Mergify Merge Protections
- GitHub Check: Summary
🔇 Additional comments (31)
.github/workflows/code_analysis.yaml (3)
10-12
: Review and tighten workflow permissions.The workflow now grants
contents: write
andpull-requests: write
. Ensure these are the minimum required scopes and adjust to follow the least-privilege principle.
14-26
: Addpre-commit
job for linting and formatting.Introducing a dedicated pre-commit job with pinned versions and
if: always()
ensures consistent code hygiene before downstream checks.
33-35
: Enforcepre-commit
as dependency for Trunk.The
trunk
job now depends onpre-commit
(andcompatibility
), guaranteeing that formatting and lint checks pass first..github/workflows/huggingface.yaml (4)
3-6
: Expand triggers to manual and release events.Adding
workflow_dispatch
andrelease
(published
) broadens deployment flexibility. Confirm this aligns with your release process.
13-14
: Add concurrency controls.Ensures only one HuggingFace upload per branch, cancelling redundant runs.
21-22
: Pinactions/checkout
to a commit SHA.Pinning provides reproducibility.
34-34
: Fix.gitignore
entry formatting.Adding the trailing slash for
.trunk/
ensures it is treated as a directory..github/workflows/github.yaml (8)
11-13
: Add concurrency controls.Grouping runs by workflow and ref prevents overlapping execution. Looks good.
22-22
: Pinactions/checkout
to a commit SHA.Pinning ensures consistent checkouts across runs.
41-41
: Referencedetails
job via short array syntax.Using
needs: [details]
simplifies dependencies. This is stylistic—no issues.
45-45
: Pinactions/checkout
in setup step.Consistent use of pinned checkout across jobs.
59-59
: Pinactions/upload-artifact
to a commit SHA.Ensures reproducible artifact uploads.
69-69
: Pinactions/checkout
in the release job.Using the same
checkout
pin maintains stability.
73-73
: Pinactions/download-artifact
to a commit SHA.Good for reproducibility.
81-83
: Multi-linerun
step forgh release
.The step correctly constructs and runs the release command. Verify output formatting aligns with expectations.
.github/workflows/docker.yaml (16)
4-6
: Restrict push events tomain
branch.Limiting
push
tomain
may skip checks on feature branches. Confirm this is intentional.
9-11
: Add manual and release triggers.Including
workflow_dispatch
andrelease
(published
) provides additional build entrypoints.
16-18
: Introduce concurrency controls.Cancelling in-progress runs prevents redundant Docker builds.
20-21
: Renamecheck_image
tocheck_dockerfile
.The new name more accurately reflects its purpose.
25-27
: Pin checkout and login actions.Pinning
actions/checkout
anddocker/login-action
ensures consistent behavior.
33-33
: Pindocker/build-push-action
for build validation.Using a specific SHA lock helps reproducibility.
38-38
: Enforcecheck_dockerfile
beforebuild_image
.Correctly wires up the dependency.
44-46
: Pin checkout and login in build job.Consistent with the validation job.
52-52
: Pindocker/setup-qemu-action
for emulation.Good practice for stability.
54-54
: Pindocker/setup-buildx-action
.Ensures a reproducible build environment.
57-57
: Pindocker/metadata-action
for image metadata.This guarantees consistent tagging.
64-64
: Pindocker/build-push-action
for image push.Maintains reproducible image builds.
74-74
: Pinactions/attest-build-provenance
.Capturing provenance with a specific version is ideal.
81-81
: Add dependency fordocker_scout
job.Ensures security scanning only after image build.
86-86
: Define matrix commands for Docker Scout.Specifying
quickview
,cves
, andrecommendations
covers key scan types.
95-95
: Pindocker/scout-action
for security scanning.Locking this action improves reproducibility.
- Enhanced `ruff.toml` with additional formatting and linting rules. - Adjusted `.markdownlint.yaml`, `.yamllint.yaml`, and `.mergify.yml` for improved readability and configuration alignment. - Updated Trunk and linting tool versions in `trunk.yaml`. - Revised GitHub release action in `github.yaml` for better formatting. - Deleted obsolete `.isort.cfg`.
|
Thank you for your contribution @MH0386! Your pull request has been merged. |
🔍 Vulnerabilities of
|
digest | sha256:9d6d4b38adcdf3277191bd8b42b6c69e02df1e658cece17810be508bb7fd1613 |
vulnerabilities | |
platform | linux/amd64 |
size | 3.5 GB |
packages | 708 |
📦 Base Image python:3.12-slim
also known as |
|
digest | sha256:85a16b09171c774647cf2c9f62027552de44a29386e8d09e76cc92a0bda66c22 |
vulnerabilities |
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (41:41)
COPY --from=builder --chown=app:app /app/.venv /app/.venv
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (41:41)
COPY --from=builder --chown=app:app /app/.venv /app/.venv
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (41:41)
COPY --from=builder --chown=app:app /app/.venv /app/.venv
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (41:41)
COPY --from=builder --chown=app:app /app/.venv /app/.venv
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (24:24)
FROM python:3.12-slim AS production
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
# Dockerfile (32:37)
RUN groupadd app && \
useradd -m -g app -s /bin/bash app && \
apt-get update -qq && \
apt-get install -qq -y --no-install-recommends espeak-ng ffmpeg && \
apt-get clean -qq && \
rm -rf /var/lib/apt/lists/*
Description
|
Summary by Sourcery
Add a dedicated pre-commit job to the GitHub Actions code analysis workflow and ensure it completes before downstream checks
CI:
Summary by CodeRabbit