Add contribution policy workflow

This commit is contained in:
Gregory Schier
2026-06-30 13:34:11 -07:00
parent 3a349bccfe
commit 1dd7e728ff
2 changed files with 598 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Contribution Policy
on:
workflow_dispatch:
inputs:
dry_run:
description: Preview labels and comments without changing PRs
required: true
default: true
type: boolean
permissions:
contents: read
issues: write
pull-requests: read
jobs:
check:
name: Check contribution policy
runs-on: ubuntu-latest
steps:
- name: Checkout policy script
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check contribution policy
uses: actions/github-script@v7
with:
script: |
const { run } = require("./.github/scripts/check-contribution-policy.js");
await run({ github, context, core });