Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/label-closed-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ permissions:
checks: read

jobs:
skip-non-target-prs:
name: Skip Non-Target PRs
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true || startsWith(github.event.pull_request.head.ref, 'copilot/')
steps:
- name: Skip workflow for merged or Copilot PRs
run: echo "Skipping Label Closed PRs for merged PRs and Copilot branches."

label-closure-reason:
name: Label PR Closure Reason
runs-on: ubuntu-latest
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/pr-description-caveman.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion .github/workflows/pr-description-caveman.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ description: Rewrites a merged PR description with a structured, considered summ
on:
pull_request:
types: [closed]
if: github.event.pull_request.merged == true && !startsWith(github.event.pull_request.head.ref, 'signed/jsweep/') && !startsWith(github.event.pull_request.head.ref, 'copilot/')
permissions:
contents: read
pull-requests: read
Expand Down Expand Up @@ -90,6 +89,15 @@ Write in a clear, considered tone. Be accurate, concise, and machine-friendly. A

## Your Task

### Step 0 — Eligibility gate

If any of the following are true:
- the pull request was **not merged**
- the pull request head branch starts with `signed/jsweep/`
- the pull request head branch starts with `copilot/`

Then call `noop` with a short reason and stop immediately.

### Step 1 — Check for meaningful changes

```bash
Expand Down
Loading