cad-editor/.github/workflows/issue-welcome.yml
Hakan Seven 22890a9411 ci: keep the issue-welcome run in Actions history
The job deleted its own run once the comment was posted, so a failure to
post left nothing behind to look at. Keep the run, and drop the
`actions: write` permission it needed only in order to delete itself.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-07 12:02:16 +03:00

24 lines
744 B
YAML

name: Welcome new issues
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
supporter-priority-note:
runs-on: ubuntu-latest
steps:
- name: Post supporter priority note
env:
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
run: |
gh issue comment "$ISSUE_NUMBER" --repo "$GH_REPO" --body-file - <<'EOF'
Thank you for opening this issue.
If you support OpenCADStudio on [Patreon](https://www.patreon.com/HakanSeven12), send me either your GitHub username or this issue number in a Patreon message. After I verify your support, I will prioritize the issue.
EOF