From 1e573cb8456d4514a63ecd75b56226edca476993 Mon Sep 17 00:00:00 2001 From: Gerg-L Date: Sun, 9 Jul 2023 18:34:25 -0400 Subject: [PATCH] testing github actions --- .github/dependabot.yml | 14 ++++++++++++++ .github/workflows/flake-update.yml | 21 +++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/flake-update.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..aacc3c6 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "04:00" + open-pull-requests-limit: 10 + reviewers: + - Gerg-L + assignees: + - Gerg-L + labels: + - CI diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml new file mode 100644 index 0000000..7789bb8 --- /dev/null +++ b/.github/workflows/flake-update.yml @@ -0,0 +1,21 @@ +name: flake-update +on: + workflow_dispatch: # allows manual triggering + schedule: + - cron: '0 1 * * *' # runs daily at 01:00 + +jobs: + lockfile: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3.5.3 + - name: Install Nix + uses: DeterminateSystems/nix-installer-action@v4 + - name: Update flake.lock + uses: DeterminateSystems/update-flake-lock@v19 + with: + pr-title: "Update flake.lock" # Title of PR to be created + pr-labels: | # Labels to be set on the PR + dependencies + automated