mirror of
https://github.com/calibrain/shelfmark.git
synced 2026-11-10 12:08:30 +00:00
Adding Coderabbit as a PR sponsor (#1682)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **Documentation** * Added a Sponsors section to the README recognizing CodeRabbit and linking to its logo. * **Chores** * Removed the automated pull-request review workflows for repository and fork pull requests. These workflows no longer trigger review runs for the pull-request events they previously handled. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
1 parent
76d7df306f
commit
be803ed5ca
3 files changed
+14
-64
No files matched your search
@@ -1,37 +0,0 @@
|
||||
name: Jules PR Review (forks)
|
||||
# Fork PRs get no secrets under pull_request, so they are reviewed here under
|
||||
# pull_request_target, which runs this file from main with the repo's secrets.
|
||||
# That is safe only while nothing here checks out or runs the PR's code: the
|
||||
# action reads the diff through the API. Upstream jules-pr-reviewer refuses
|
||||
# this event, hence the calibrain fork.
|
||||
# The jules-forks environment has no required reviewers on purpose, so fork
|
||||
# pushes are reviewed straight away; adding reviewers there (Settings →
|
||||
# Environments) would make each run wait for a maintainer's approval.
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
# Not jules-review-: the same-repo workflow's skipped runs would cancel this one
|
||||
group: jules-review-fork-${{ github.event.pull_request.number }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
review:
|
||||
# Drafts are skipped here rather than by the action, so they never start a job
|
||||
if: github.event.pull_request.head.repo.full_name != github.repository && !github.event.pull_request.draft
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: jules-forks
|
||||
deployment: false
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: read
|
||||
checks: write
|
||||
steps:
|
||||
- uses: calibrain/jules-pr-reviewer@v0.0.3
|
||||
with:
|
||||
jules_api_key: ${{ secrets.JULES_API_KEY }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
skip_forks: false
|
||||
@@ -1,27 +0,0 @@
|
||||
name: Jules PR Review
|
||||
# Reviews PRs whose branch lives in this repo. Fork PRs get no secrets under
|
||||
# pull_request and Dependabot runs get only Dependabot secrets, so
|
||||
# JULES_API_KEY would be empty for both; jules-pr-reviewer-forks.yml reviews
|
||||
# fork PRs instead.
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize, reopened, ready_for_review]
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: jules-review-${{ github.event.pull_request.number }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
review:
|
||||
if: github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
contents: read
|
||||
checks: write
|
||||
steps:
|
||||
- uses: calibrain/jules-pr-reviewer@v0.0.3
|
||||
with:
|
||||
jules_api_key: ${{ secrets.JULES_API_KEY }}
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
@@ -324,6 +324,20 @@ make restart # Restart container
|
||||
|
||||
The frontend dev server proxies to the backend on port 8084.
|
||||
|
||||
|
||||
## Sponsors
|
||||
|
||||
Code review on Shelfmark's pull requests is sponsored by [CodeRabbit](https://coderabbit.link/calibrain).
|
||||
|
||||
<a href="https://coderabbit.link/calibrain">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://www.coderabbit.ai/content/assets/white-typemark.svg">
|
||||
<source media="(prefers-color-scheme: light)" srcset="https://www.coderabbit.ai/content/assets/orange-typemark.svg">
|
||||
<img src="https://www.coderabbit.ai/content/assets/orange-typemark.svg" alt="CodeRabbit" width="240">
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT License - see [LICENSE](LICENSE) for details.
|
||||
|
||||
Reference in new issue
Block a user