Skip to content

feat: add CI to detect references #1

feat: add CI to detect references

feat: add CI to detect references #1

name: Check patch references
on:
push:
branches-ignore:
- dependabot/**
schedule:
# Once every day at midnight UTC
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Checkout patches
uses: actions/checkout@v4
- name: Checkout core
uses: actions/checkout@v4
with:
repository: 'homebrew/homebrew-core'
path: homebrew-core
- name: Detect references
run: |
for patch in $(find -name "*.patch"); do
git -C "homebrew-core" grep -r "${patch/./}"
done