-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore: forward issue/PR/discussion events to Cursor hygiene #9518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| name: Forward to Cursor hygiene | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, closed, reopened, ready_for_review] | ||
| issues: | ||
| types: [opened, closed, reopened] | ||
| discussion: | ||
| types: [created, closed, reopened] | ||
| issue_comment: | ||
| types: [created] | ||
| discussion_comment: | ||
| types: [created] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| forward: | ||
| name: POST to Cursor | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - name: POST to Cursor | ||
| env: | ||
| URL: ${{ secrets.CURSOR_T3CODE_WEBHOOK_URL }} | ||
| AUTH: ${{ secrets.CURSOR_T3CODE_WEBHOOK_AUTH }} | ||
| run: | | ||
| set -euo pipefail | ||
| if [ -z "${URL:-}" ] || [ -z "${AUTH:-}" ]; then | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium Fork and Dependabot pull requests never reach Cursor hygiene: GitHub withholds 🚀 Reply "fix it for me" or copy this AI Prompt for your agent: |
||
| echo "Missing CURSOR_T3CODE_WEBHOOK_URL or CURSOR_T3CODE_WEBHOOK_AUTH — skipping." | ||
| exit 0 | ||
| fi | ||
| curl -fsS -X POST "$URL" \ | ||
|
macroscopeapp[bot] marked this conversation as resolved.
Outdated
|
||
| -H "Authorization: $AUTH" \ | ||
| -H "Content-Type: application/json" \ | ||
| -H "X-GitHub-Event: ${{ github.event_name }}" \ | ||
| -H "X-GitHub-Delivery: ${{ github.run_id }}-${{ github.run_attempt }}" \ | ||
| --data-binary @"${{ github.event_path }}" | ||
Uh oh!
There was an error while loading. Please reload this page.