Skip to content

[pull] main from GoogleCloudPlatform:main#20

Merged
pull[bot] merged 2 commits into
deargvp1:mainfrom
GoogleCloudPlatform:main
Jun 3, 2026
Merged

[pull] main from GoogleCloudPlatform:main#20
pull[bot] merged 2 commits into
deargvp1:mainfrom
GoogleCloudPlatform:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 3, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )


Summary by cubic

Introduce a GitHub Actions Lint workflow that only checks changed Python files with nox sessions (black and flake8) to reduce noise and replace Kokoro lint checks. Also updates the PR template and repository settings to align with the new flow.

  • New Features

    • Added GitHub Actions Lint workflow for PRs (Python 3.10).
    • Lints only changed .py files via .github/scripts/lint-changed.sh.
    • Uses a scoped noxfile-lint.py with nox sessions: blacken and lint (flake8), avoiding repo-wide linting.
    • PR template simplified with clear Testing and Compliance checks.
    • Added a minimal passing fixture under .internal/tests/fixtures/.
  • Migration

    • Repository now requires the Lint status; Kokoro lint/test contexts removed.
    • Local reproduction: nox -s blacken -- <files> and nox -s lint -- <files>.

Written for commit c0076a1. Summary will update on new commits.

Review in cubic

iennae and others added 2 commits June 3, 2026 11:36
* feat: create a lint action

* feat: add lint-changed.sh shell script

* fix: Update lint-changed.sh

* fix: add license header to lint-changed.sh

* fix: minor update to GitHub action

* fix: remove checking for pushes against main.

we never push to main.

* fix: update based on never pushing to main.

* fix: address action scanning issue (maybe)

* feat: add a failing test fixture for linting

* feat: add a passing test python file for linting

* fix: address header issues

* fix: address header issues

* fix: create updated noxfile template so that only targeted files are linted

* fix: use customized noxfile template

* fix: address on lint passing test

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* fix: address some of the noisy logging in the output to the action

* chore: remove failing lint file for now .internal/tests/fixtures/test_fail.py

* fix: no quiet mode :(

* fix: address linting issues with lib and readd comment

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
* fix: remove kokoro as required for running

* fix: going ahead and removing

* fix: Update PULL_REQUEST_TEMPLATE.md
@pull pull Bot locked and limited conversation to collaborators Jun 3, 2026
@pull pull Bot added the ⤵️ pull label Jun 3, 2026
@pull pull Bot merged commit c0076a1 into deargvp1:main Jun 3, 2026
1 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant