diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c20df2e..3dca800 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -8,3 +8,10 @@ updates: interval: "monthly" cooldown: default-days: 7 + + - package-ecosystem: "uv" + directory: "/" + schedule: + interval: "daily" + # Security updates only + open-pull-requests-limit: 0 diff --git a/.github/workflows/uvmirror-check.yml b/.github/workflows/uvmirror-check.yml new file mode 100644 index 0000000..62d29df --- /dev/null +++ b/.github/workflows/uvmirror-check.yml @@ -0,0 +1,24 @@ +--- +name: Check uvmirror + +permissions: + contents: read + +on: + push: + workflow_dispatch: + +jobs: + check-uvmirror: + runs-on: ubuntu-24.04 + + steps: + - uses: actions/checkout@v6 + - uses: opensafely-core/setup-action@v1 + with: + install-just: true + install-uv: true + cache: uv + + - name: Ensure requirements.uvmirror.txt is consistent with uv.lock + run: just uvmirror && git diff -s --exit-code