fix(snippets): improve snippet ban check logic #1
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
| --- | |
| # Submits uv.lock to GitHub's dependency graph so Dependency Review and other | |
| # security features see the full transitive dependency graph (GitHub does not | |
| # natively parse uv.lock). Run workflow_dispatch once after adding to bootstrap. | |
| # https://github.com/rmuir/uv-dependency-submission | |
| name: Dependency Submission | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [main, master] | |
| paths: | |
| - '**/uv.lock' | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| submit: | |
| name: Submit uv dependencies | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| permissions: | |
| contents: write | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Submit dependency snapshot | |
| uses: rmuir/uv-dependency-submission@1c48aaac13e566e39fd04269ff1900b86c1105c5 # v1.0.0 |