Skip to content
Open
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
16 changes: 16 additions & 0 deletions .github/workflows/runner-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copy this file to .github/workflows/runner-policy.yml in every repository.
#
# It is deliberately tiny: all logic lives in the reusable workflow in
# github-policy, so the rule can be changed in one place. After adding it, make
# `runner-policy` a required status check on the repository's protected branch
# — without that it reports but does not block.
name: Runner policy

on:
pull_request:
push:
branches: [main]

jobs:
runner-policy:
uses: TheDancingDeveloper-org/github-policy/.github/workflows/runner-policy-reusable.yml@main