Skip to content
Source
Sign inSign up
pingdotgg/t3code

Add PR vouch workflow with trust-status labels #602

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 2 commits intomain fromrefs/pull/602/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 3 changed files with 206 additions and 0 deletions.

x
0 of 3 viewed, 3 left
175 additions and 0 deletions.github/workflows/pr-vouch.ymlAdded
View file
@@ -0,0 +1,175 @@
+name: PR Vouch
+​
+on:
+ pull_request_target:
+ types: [opened, reopened, synchronize, ready_for_review]
+ issue_comment:
+ types: [created]
+ push:
+ branches:
+ - main
+ paths:
+ - .github/VOUCHED.td
+ - .github/workflows/pr-vouch.yml
+​
+permissions:
+ contents: read
+ issues: write
+ pull-requests: write
+​
+jobs:
+ collect-targets:
+ name: Collect PR targets
+ runs-on: ubuntu-24.04
+ outputs:
+ targets: ${{ steps.collect.outputs.targets }}
+ steps:
+ - id: collect
+ uses: actions/github-script@v7
+ with:
+ script: |