Skip to content
Merged
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
28 changes: 28 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
documentation:
- changed-files:
- any-glob-to-any-file:
- "**/*.md"
- "docs/**"
- "infra/**"
tests:
- changed-files:
- any-glob-to-any-file:
- "tests/**"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 App tests miss their label

The tests/** rule matches only the root test folder. A PR changing only apps/cloud-agent/tests/auth.test.ts gets source but not tests, making app test changes harder to spot during review. Add apps/**/tests/** to cover them.

Suggested change
- "tests/**"
- "tests/**"
- "apps/**/tests/**"
Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/labeler.yml
Line: 10

Comment:
**App tests miss their label**

The `tests/**` rule matches only the root test folder. A PR changing only `apps/cloud-agent/tests/auth.test.ts` gets `source` but not `tests`, making app test changes harder to spot during review. Add `apps/**/tests/**` to cover them.

```suggestion
          - "tests/**"
          - "apps/**/tests/**"
```

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Cursor Fix in Claude Code Fix in Codex Fix in Conductor

dependencies:
- changed-files:
- any-glob-to-any-file:
- "package.json"
- "package-lock.json"
- "apps/**/package.json"
- "apps/**/package-lock.json"
github-actions:
- changed-files:
- any-glob-to-any-file:
- ".github/workflows/**"
- ".github/labeler.yml"
source:
- changed-files:
- any-glob-to-any-file:
- "src/**"
- "scripts/**"
- "apps/**"
126 changes: 0 additions & 126 deletions .github/workflows/crda.yml

This file was deleted.

28 changes: 12 additions & 16 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler

name: Labeler
on: [pull_request_target]

on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]

permissions:
contents: read
pull-requests: write

jobs:
label:

runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write

steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: actions/labeler@v6
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
22 changes: 12 additions & 10 deletions .github/workflows/mayhem-for-api.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
# Mayhem API fuzzing. Configure MAYHEM_TOKEN and the API startup/spec before use.
name: "Mayhem for API"

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:

permissions:
actions: read
contents: read
security-events: write

jobs:
mayhem-for-api:
name: Mayhem for API
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
env:
MAYHEM_TOKEN: ${{ secrets.MAYHEM_TOKEN }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Start your API
if: ${{ hashFiles('run_your_api.sh') != '' }}
run: ./run_your_api.sh &
- name: Mayhem for API
if: ${{ secrets.MAYHEM_TOKEN != '' && hashFiles('run_your_api.sh') != '' }}
if: ${{ env.MAYHEM_TOKEN != '' && hashFiles('run_your_api.sh') != '' }}
uses: ForAllSecure/mapi-action@c31b1886401e3db6ec5c7d7d0ffa4dd6716628cf # v1
continue-on-error: true
with:
mayhem-token: ${{ secrets.MAYHEM_TOKEN }}
mayhem-token: ${{ env.MAYHEM_TOKEN }}
api-url: http://localhost:8080
api-spec: http://localhost:8080/openapi.json
duration: 60
Expand Down
File renamed without changes.
Loading