Skip to content

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

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

feat(pr-00-gate): wire path-classifier for path-aware skips#380
stranske merged 3 commits 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/upload-artifact from 6 to 7.

Release notes

Sourced from actions/upload-artifact's releases.

v7.0.0

v7 What's new

Direct Uploads

Adds support for uploading single files directly (unzipped). Callers can set the new archive parameter to false to skip zipping the file during upload. Right now, we only support single files. The action will fail if the glob passed resolves to multiple files. The name parameter is also ignored with this setting. Instead, the name of the artifact will be the name of the uploaded file.

ESM

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

What's Changed

New Contributors

Full Changelog: actions/upload-artifact@v6...v7.0.0

Commits

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: 60df840
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:42
@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 repository’s PR gate workflow to run a path-classification “detect” job first, then conditionally skip expensive CI work based on what files changed (e.g., docs-only PRs).

Changes:

  • Added a detect job that runs the local .github/actions/path-classifier composite action and exports classification outputs.
  • Gated the python-ci reusable workflow job on the classifier results (skip docs-only / non-Python changes).
  • Extended the summary job to include the detect job result when computing the final Gate commit status.

Comment on lines +45 to +49
is_docs_only: ${{ steps.classify.outputs.is-docs-only || 'false' }}
is_python_code: ${{ steps.classify.outputs.is-python-code || 'true' }}
is_workflow_change: ${{ steps.classify.outputs.is-workflow-change || 'false' }}
is_security_relevant: ${{ steps.classify.outputs.is-security-relevant || 'true' }}
classification_rationale: ${{ steps.classify.outputs.classification-rationale || 'path classifier unavailable' }}
classification_rationale: ${{ steps.classify.outputs.classification-rationale || 'path classifier unavailable' }}
steps:
- name: Checkout repository
uses: actions/checkout@v6
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 enabled auto-merge (squash) May 6, 2026 02:09
@stranske stranske merged commit 0ff3f25 into main May 6, 2026
11 checks passed
@stranske stranske deleted the feat/pr-00-gate-path-classifier branch May 6, 2026 03:46
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