Skip to content
Merged

Chore #103

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
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/edit-tool.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/ISSUE_TEMPLATE/new-tool.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE/tool-submission.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Closes #

### Details

| Field | Value |
|---|---|
| Tool Name | `` |
| Type | New Tool / Tool Edit |
| File | `public/tools-collection/` |
| Field | Value |
| --------- | -------------------------- |
| Tool Name | `` |
| Type | New Tool / Tool Edit |
| File | `public/tools-collection/` |

### Checklist

Expand Down
21 changes: 20 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
name: Build and Test
permissions:
contents: read
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -32,6 +32,25 @@ jobs:
- name: Install dependencies
run: bun install

- name: Generate specifications
run: bun run specification:build

- name: Build registry
run: bun run registry:build

- name: Commit changes if any
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"

if git diff --quiet; then
echo "No changes to commit"
else
git add .
git commit -m "chore: update generated specifications and registry"
git push origin HEAD:main
fi
Comment on lines 12 to +52

Copilot AI Mar 5, 2026

Copy link

Choose a reason for hiding this comment

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

This deploy workflow commits and pushes generated files back to main as part of a run triggered by push to main. That can cause extra pipeline runs (push → workflow → push → workflow), can fail on protected branches, and makes deployments less deterministic. Consider avoiding pushes from CI (treat generated artifacts as build outputs) or adding guards (e.g., skip if github.actor is the actions bot / use [skip ci] / separate scheduled update workflow).

Copilot uses AI. Check for mistakes.

- run: bun run build
# - run: bun run test
- name: Setup Pages
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
build-test:
runs-on: ubuntu-latest
name: Build and Test
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -56,5 +58,24 @@ jobs:
- name: Install dependencies
run: bun install

- name: Generate specifications
run: bun run specification:build

- name: Build registry
run: bun run registry:build

- name: Commit changes if any
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"

if git diff --quiet; then
echo "No changes to commit"
else
git add .
git commit -m "chore: update generated specifications and registry"
git push origin HEAD:${{ github.head_ref }}
fi
Comment on lines +67 to +78

Copilot AI Mar 5, 2026

Copy link

Choose a reason for hiding this comment

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

This workflow pushes commits back to the PR branch (git push) during CI. For PRs from forks, the job will fail because the token can’t push to the contributor’s branch, and even for same-repo PRs it mutates the branch during checks (can invalidate reviews / create surprise commits). Consider making this conditional on !github.event.pull_request.head.repo.fork (or removing the push and instead failing with instructions / using a separate bot workflow).

Copilot uses AI. Check for mistakes.

- run: bun run build
- run: bun run test
192 changes: 0 additions & 192 deletions .github/workflows/tool-submission.yml

This file was deleted.

Loading