Repository navigation
ci: modernize GitHub Actions workflows, labelers, and issue templates to production grade - #1931
Merged
komalharshita merged 1 commit intoSep 19, 2026
Conversation
… to production grade - Add pip dependency caching to python-app.yml and deploy.yml for 30-60s faster CI runs - Add blocking syntax and undefined name checks (E9, F63, F7, F82, F821) to CI - Fix YAML syntax parsing error in .github/ISSUE_TEMPLATE/data_contribution.yml - Move .github/config.yml to .github/ISSUE_TEMPLATE/config.yml to activate issue chooser settings - Consolidate auto-label-issues.yml into issue-management.yml, removing fragile body text regexing - Upgrade auto-label-prs.yml to support both branch ref patterns and conventional commit PR titles - Add sync-labels: false to auto-file-labels.yml to prevent wiping existing PR labels - Expand labeler.yml path coverage for backend, frontend, database, docs, test, and ci/cd - Add .github/workflows/stale.yml for automated stale issue and PR lifecycle management - Fix test_admin_csrf.py to restore WTF_CSRF_ENABLED in finally block, preventing test pollution
|
@santusht06 is attempting to deploy a commit to the komalsony234-1530's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Thank you for submitting your first pull request to DevPath. Before review:
A maintainer will review your contribution soon. |
komalharshita
approved these changes
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary [required]
This PR modernizes and hardens the GitHub Actions CI/CD pipeline, PR/issue automated triage workflows, and labeler configuration for DevPath:
python-app.yml): Adds pip caching viaactions/setup-python@v7, introduces blocking syntax/fatal error checks (E9,F63,F7,F82), undefined variable checks (F821), advisory style checks, and verbose test execution with pytest..github/workflows/auto-label-prs.yml,.github/workflows/auto-file-labels.yml, and.github/labeler.yml..github/workflows/issue-management.ymlto safely auto-assign creators and attach program labels without failing on non-member permissions.auto-label-issues.yml).config.ymlunder.github/ISSUE_TEMPLATE/so GitHub correctly recognizes blank issue restrictions and contact links.stale.yml): Introduces a scheduled maintenance workflow (actions/stale@v9) to automatically triage inactive issues and pull requests while exempting security, pinned, and in-progress items.tests/test_admin_csrf.py): Wraps CSRF enablement mutations intry...finallyblocks to guarantee test state isolation and prevent state leakage across test runs.Type of Change [required]
What Was Changed [required]
.github/workflows/python-app.ymlE9,F63,F7,F82), and verbose pytest runner.github/workflows/auto-label-prs.yml.github/workflows/auto-file-labels.yml.github/workflows/issue-management.yml.github/workflows/auto-label-issues.yml.github/workflows/stale.yml.github/labeler.ymlsrc/,data/,docs/, andtests/.github/ISSUE_TEMPLATE/config.ymlISSUE_TEMPLATE/for proper GitHub issue form rendering.github/ISSUE_TEMPLATE/data_contribution.yml.github/workflows/deploy.ymltests/test_admin_csrf.pyWTF_CSRF_ENABLEDtest configurations intry...finallyteardownsHow to Test This PR [required]
git checkout fix/cicd-pipeline-and-workflow-modernizationpip install -r requirements.txt && pip install -r requirements-dev.txtPYTHONPATH=src pytest -vflake8 . --count --select=E9,F63,F7,F82 --show-source --statisticsExpected test output:
Test Results [required]
Self-Review Checklist [required]
fix/print()orconsole.log()debug statements introduced