Skip to content

feat(pr-00-gate): wire path-classifier for path-aware skips#365

Merged
stranske merged 1 commit into
mainfrom
feat/pr-00-gate-path-classifier
May 6, 2026
Merged

feat(pr-00-gate): wire path-classifier for path-aware skips#365
stranske merged 1 commit into
mainfrom
feat/pr-00-gate-path-classifier

Conversation

@stranske
Copy link
Copy Markdown
Owner

@stranske stranske commented May 5, 2026

Source: Issue #3

Closes #3

Automated Status Summary

Scope

Bumps actions/download-artifact from 7 to 8.

Release notes

Sourced from actions/download-artifact's releases.

v8.0.0

v8 - What's new

Direct downloads

To support direct uploads in actions/upload-artifact, the action will no longer attempt to unzip all downloaded files. Instead, the action checks the Content-Type header ahead of unzipping and skips non-zipped files. Callers wishing to download a zipped file as-is can also set the new skip-decompress parameter to false.

Enforced checks (breaking)

A previous release introduced digest checks on the download. If a download hash didn't match the expected hash from the server, the action would log a warning. Callers can now configure the behavior on mismatch with the digest-mismatch parameter. To be secure by default, we are now defaulting the behavior to error which will fail the workflow run.

ESM

To support new versions of the @actions/* packages, we've upgraded the package to ESM.

What's Changed

Full Changelog: actions/download-artifact@v7...v8.0.0

Commits
  • 70fc10c Merge pull request #461 from actions/danwkennedy/digest-mismatch-behavior
  • f258da9 Add change docs
  • ccc058e Fix linting issues
  • bd7976b Add a setting to specify what to do on hash mismatch and default it to error
  • ac21fcf Merge pull request #460 from actions/danwkennedy/download-no-unzip
  • 15999bf Add note about package bumps
  • 974686e Bump the version to v8 and add release notes
  • fbe48b1 Update test names to make it clearer what they do
  • 96bf374 One more test fix
  • b8c4819 Fix skip decompress test
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

Context for Agent

Related Issues/PRs

Tasks

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Acceptance criteria

  • Acceptance criteria section missing from source issue.

Head SHA: b0acbc3
Latest Runs: ❔ in progress — Agents PR Event Hub
Required: gate: ⏸️ not started

Workflow / Job Result Logs
Agents PR Event Hub ❔ in progress View run

Copilot AI review requested due to automatic review settings May 5, 2026 10:41
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Workflow state fingerprint for Agents Gate Followups. Do not edit.

Copy link
Copy Markdown

Copilot AI left a 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 updates the Gate workflow to add a changed-path classifier and use its outputs to skip expensive CI when a pull request appears irrelevant to Python code. It fits into the repo’s CI surface by changing how the required Gate / gate status decides whether to run or skip the reusable Python CI job.

Changes:

  • Added a new detect job that checks out the repo and runs the local .github/actions/path-classifier action.
  • Gated python-ci behind classifier outputs so docs-only / non-Python changes can skip the reusable Python CI workflow.
  • Updated the summary job to account for the new detection job when publishing the final Gate status.

Comment on lines +65 to +66
needs.detect.outputs.is_docs_only != 'true' &&
needs.detect.outputs.is_python_code == 'true'
id: classify
uses: ./.github/actions/path-classifier
with:
force-full: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'verify:full') || github.event_name == 'schedule' }}
@stranske stranske merged commit 0c210f0 into main May 6, 2026
2120 of 2121 checks passed
@stranske stranske deleted the feat/pr-00-gate-path-classifier branch May 6, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants