chore: replace all github.token/GITHUB_TOKEN with GitHub App token #1390
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: Dependency Management | |
| on: | |
| schedule: | |
| - cron: '0 3 * * *' | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| # Skip dependency-review - requires GitHub Advanced Security | |
| license-check: | |
| name: License Compatibility Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.10' | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| echo "$HOME/.cargo/bin" >> $GITHUB_PATH | |
| - name: Install dependencies | |
| run: | | |
| uv sync | |
| uv pip install pip-licenses | |
| - name: Check licenses | |
| run: | | |
| uv run pip-licenses --format=json --output-file=licenses.json | |
| uv run pip-licenses --fail-on="GPL;LGPL;AGPL;SSPL" || true | |
| - name: Upload license report | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: license-report | |
| path: licenses.json |