ci/vouch: init vouch ci

This commit is contained in:
Vaxry
2026-07-27 13:09:54 +02:00
parent d8dc50309c
commit 8fd90780e8
2 changed files with 43 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
Hi @{author},
Thanks for your contribution! Unfortunately, Hyprland and hypr* no longer
accept contributions from unvouched contributors.
To get vouched, please see our contributing guide at [wiki.hypr.land/Contributing-and-Debugging](https://wiki.hypr.land/Contributing-and-Debugging/)
This PR has been closed automatically and will not be re-opened.
+35
View File
@@ -0,0 +1,35 @@
name: Vouch MR Check
on:
pull_request_target:
types: [opened, reopened]
permissions:
contents: read
pull-requests: write
jobs:
check-vouch:
runs-on: ubuntu-latest
steps:
- name: Verify central Vouch list
env:
GH_TOKEN: ${{ github.token }}
run: |
gh api \
"/repos/${{ github.repository_owner }}/.github/contents/vouch/VOUCHED.td?ref=${{ github.event.repository.default_branch }}" \
>/dev/null
- name: Enforce central Vouch list
uses: mitchellh/vouch/action/check-pr@v1
with:
pr-number: ${{ github.event.pull_request.number }}
repo: ${{ github.repository }}
vouched-repo: ${{ github.repository_owner }}/.github
vouched-file: VOUCHED.td
require-vouch: true
auto-close: true
dry-run: false
env:
GITHUB_TOKEN: ${{ github.token }}