From c3df935905ee024f5476c90f40ce719c991e44bc Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Sun, 2 Aug 2026 14:55:31 +0300 Subject: [PATCH] ci(issues): add supporter priority comment --- .github/workflows/issue-welcome.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/issue-welcome.yml diff --git a/.github/workflows/issue-welcome.yml b/.github/workflows/issue-welcome.yml new file mode 100644 index 00000000..4a153be6 --- /dev/null +++ b/.github/workflows/issue-welcome.yml @@ -0,0 +1,24 @@ +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