Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/vouch_issue_message.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Users are no longer allowed to open issues themselves, please open a discussion instead.

Please see the [wiki](https://wiki.hyprland.org/Contributing-and-Debugging/Issue-Guidelines/) on why this is the case.\n\nWe are volunteers, and we need your cooperation to make the best software we can. Thank you for understanding! ❤️

[Open a discussion here](https://github.com/hyprwm/Hyprland/discussions)
101 changes: 0 additions & 101 deletions .github/workflows/close-issues.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/workflows/vouch-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Vouch Issue Check

on:
issues:
types: [opened, reopened]


permissions:
contents: read
issues: write

jobs:
check-vouch:
runs-on: ubuntu-latest

steps:
- name: Check out template
uses: actions/checkout@v6
with:
persist-credentials: false

- name: Verify central Issues Vouch list
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api \
"/repos/${{ github.repository_owner }}/.github/contents/vouch/VOUCHED_ISSUE.td?ref=${{ github.event.repository.default_branch }}" \
>/dev/null

- name: Enforce central Vouch list
uses: mitchellh/vouch/action/check-issue@v1
with:
issue-number: ${{ github.event.issue.number }}
repo: ${{ github.repository }}
vouched-repo: ${{ github.repository_owner }}/.github
vouched-file: vouch/VOUCHED_ISSUE.td
template-file: .github/vouch_issue_message.md
require-vouch: true
auto-close: true
dry-run: false
env:
GITHUB_TOKEN: ${{ github.token }}
Loading