name: Issue Wontfix on: issues: types: [labeled] jobs: handle-wontfix: runs-on: ubuntu-latest if: github.event.label.name == 'wontfix' steps: - name: Create comment for wontfix uses: actions-cool/issues-helper@v3 with: actions: "create-comment" token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} body: | Hi there! This issue has been marked as 'wontfix'. It means we've reviewed the issue but have chosen not to pursue it for reasons that may vary (e.g., aligning with the project's current priorities, outside of project scope, etc.). We understand this might not be the outcome you were hoping for. If you believe this decision should be reconsidered, please provide any additional context or reasoning that was not previously considered. Thank you for your understanding and for contributing to the project. Your efforts are greatly appreciated! - name: Close issue after wontfix uses: actions-cool/issues-helper@v3 with: actions: "close-issue" token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }}