Repository navigation
build(deps): bump the github-actions group with 4 updates #57
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test refresh-reviewers generator | |
| # Runs the Python unit tests for the refresh-reviewers generator (glob parity | |
| # with assign-reviewers.yml, decay/selection math, the surgical rewrite). The | |
| # generator proposes every consumer repo's reviewer map, so a scoring or | |
| # rewrite regression silently corrupts routing everywhere — cheap to guard | |
| # with a unit run on change. | |
| # | |
| # The filters below deliberately reach OUTSIDE this directory for | |
| # .github/assign-reviewers/parser-corpus.json, the fixture both parser ports | |
| # are driven from. test-assign-reviewers.yml watches it via | |
| # `.github/assign-reviewers/**`, so editing the corpus runs BOTH suites and a | |
| # case retuned to satisfy one port alone cannot land green. | |
| # | |
| # docs/callers/refresh-reviewers.md is deliberately NOT in the filters: the | |
| # declared-vs-documented input drift check that used to read it folded into | |
| # .github/workflow-pins/tests/test_inputs_docs_drift.py, and no suite this | |
| # workflow runs reads the guide. test-workflow-pins.yml watches both that guide | |
| # (via docs/callers/**) and .github/refresh-reviewers/README.md. | |
| on: | |
| pull_request: | |
| paths: | |
| - '.github/refresh-reviewers/**' | |
| - '.github/workflows/refresh-reviewers.yml' | |
| - '.github/workflows/test-refresh-reviewers.yml' | |
| - '.github/assign-reviewers/parser-corpus.json' | |
| push: | |
| branches: [main] | |
| paths: | |
| - '.github/refresh-reviewers/**' | |
| - '.github/workflows/refresh-reviewers.yml' | |
| - '.github/workflows/test-refresh-reviewers.yml' | |
| - '.github/assign-reviewers/parser-corpus.json' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: unittest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Python | |
| uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7.1.0 | |
| with: | |
| python-version: '3.12' | |
| - name: Run refresh-reviewers generator tests | |
| run: python3 -m unittest discover -s .github/refresh-reviewers/tests -p 'test_*.py' -v |