diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 33716cc..dfc4105 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,7 +7,7 @@ updates: - package-ecosystem: "cargo" directory: "/" schedule: - interval: "daily" + interval: "weekly" ignore: - dependency-name: "*" update-types: ["version-update:semver-patch"] diff --git a/.github/update-flake.yml b/.github/update-flake.yml new file mode 100644 index 0000000..4f7fa47 --- /dev/null +++ b/.github/update-flake.yml @@ -0,0 +1,21 @@ +name: update-flake-lock +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '24 8 * * MON' # runs every Monday at 08:24 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v1 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v20 + with: + pr-title: "Update flake.lock" + pr-labels: | + dependencies + github_actions