super-productivity/.github/workflows/issue-open-auto-reply.yml
Johannes Millan 80389c542f fix(ci): add issues write permission to autoresponse workflow
GitHub Actions requires explicit permissions for write operations.
Adding `issues: write` permission resolves the "Resource not accessible
by integration" error when posting auto-reply comments.

Fixes #5904
2026-01-06 13:17:15 +01:00

22 lines
1.2 KiB
YAML

name: Issue Autoresponse
on:
issues:
types: [opened]
permissions:
issues: write
jobs:
auto-response:
runs-on: ubuntu-latest
steps:
- uses: derekprior/add-autoresponse@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
respondableId: ${{ github.event.issue.node_id }}
response: "Thank you very much for opening up this issue! I am currently a bit overwhelmed by the many requests that arrive each week, so please forgive me, if I fail to respond personally. I am still very likely to at least skim read your request and I'll probably try to fix all (real) bugs if possible and I will likely review every single PR being made (please, give me a heads up if you intent to do so) and I will try to work on popular requests (please upvote via thumbs up on the original issue) whenever possible, but trying to respond to every single issue over the last years has been kind of draining and I need to adjust my approach for this project to remain fun for me and to make any progress with actually coding new stuff. Thanks for your understanding!"
author: ${{ github.event.issue.user.login }}
exemptedAuthors: 'johannesjo'